Lines Matching refs:filename
228 * filename for a key file. '/', '\' and ':' are not allowed.
231 * Returns 0 if the filename would contain either '\', '/' or ':'
257 * Builds a key filename from the key name, its id, and a
258 * suffix. '\', '/' and ':' are not allowed. fA filename is of the
263 * if the filename would be too long for space allotted
264 * if the filename would contain a '\', '/' or ':'
269 dst_s_build_filename(char *filename, const char *name, u_int16_t id,
273 if (filename == NULL)
275 memset(filename, 0, filename_length);
283 sprintf(filename, "K%s+%03d+%05d.%s", name, alg, my_id,
285 if (strrchr(filename, '/'))
287 if (strrchr(filename, '\\'))
289 if (strrchr(filename, ':'))
299 * filename File to open
307 dst_s_fopen(const char *filename, const char *mode, int perm)
312 if (strlen(filename) + strlen(dst_path) >= sizeof(pathname))
317 strcat(pathname, filename);
319 strcpy(pathname, filename);