Lines Matching defs:code
58 * The error code. This is a locale-independent string that
64 * Note that this code plus the parameters allows for structured
67 char *code;
78 * so that code that processes the superclass can work on the subclass.
118 free(de->code);
119 de->code = NULL;
143 * de = directory_error(code, fmt [, arg1 ... ]);
147 directory_error(const char *code, const char *fmt, ...)
161 de->code = strdup(code);
162 if (de->code == NULL)
219 de->code = strdup(de_rpc->code);
220 if (de->code == NULL)
263 de_rpc->code = strdup(de->code);
264 if (de_rpc->code == NULL)
301 directory_error_is_instance_of(directory_error_t de, char *code)
305 if (de == NULL || de->code == NULL)
308 len = strlen(code);
310 if (strncasecmp(de->code, code, len) != 0)
313 if (de->code[len] == '\0' || de->code[len] == '.')
416 * Returns the error code for the particular error, as a string.
428 return (de->code);