src/ucx/utils.h

changeset 292
d9abf53b8397
parent 286
85f55abea563
child 308
d6f580621512
equal deleted inserted replaced
291:deb0035635eb 292:d9abf53b8397
154 * @return the result of strncmp(s1, s2, *n) 154 * @return the result of strncmp(s1, s2, *n)
155 */ 155 */
156 int ucx_strncmp(const void *s1, const void *s2, void *n); 156 int ucx_strncmp(const void *s1, const void *s2, void *n);
157 157
158 /** 158 /**
159 * Wraps the sstrcmp function.
160 * @param s1 sstr one
161 * @param s2 sstr two
162 * @param data ignored
163 * @return the result of sstrcmp(s1, s2)
164 */
165 int ucx_sstrcmp(const void *s1, const void *s2, void *data);
166
167 /**
159 * Compares two integers of type int. 168 * Compares two integers of type int.
160 * @param i1 pointer to integer one 169 * @param i1 pointer to integer one
161 * @param i2 pointer to integer two 170 * @param i2 pointer to integer two
162 * @param data omitted 171 * @param data omitted
163 * @return -1, if *i1 is less than *i2, 0 if both are equal, 172 * @return -1, if *i1 is less than *i2, 0 if both are equal,

mercurial