Lines Matching refs:queue_name
147 const char *mail_queue_dir(VSTRING *buf, const char *queue_name, in mail_queue_dir() argument
161 if (mail_queue_name_ok(queue_name) == 0) in mail_queue_dir()
162 msg_panic("%s: bad queue name: %s", myname, queue_name); in mail_queue_dir()
182 vstring_strcpy(buf, queue_name); in mail_queue_dir()
189 if (strcasecmp(*cpp, queue_name) == 0) { in mail_queue_dir()
206 const char *mail_queue_path(VSTRING *buf, const char *queue_name, in mail_queue_path() argument
223 (void) mail_queue_dir(buf, queue_name, queue_id); in mail_queue_path()
276 int mail_queue_remove(const char *queue_name, const char *queue_id) in mail_queue_remove() argument
278 return (REMOVE(mail_queue_path((VSTRING *) 0, queue_name, queue_id))); in mail_queue_remove()
283 int mail_queue_name_ok(const char *queue_name) in mail_queue_name_ok() argument
287 if (*queue_name == 0 || strlen(queue_name) > 100) in mail_queue_name_ok()
290 for (cp = queue_name; *cp; cp++) in mail_queue_name_ok()
321 VSTREAM *mail_queue_enter(const char *queue_name, mode_t mode, in mail_queue_enter() argument
362 vstring_sprintf(temp_path, "%s/%d.%d", queue_name, in mail_queue_enter()
405 mail_queue_path(path_buf, queue_name, STR(id_buf)); in mail_queue_enter()
426 VSTREAM *mail_queue_open(const char *queue_name, const char *queue_id, in mail_queue_open() argument
429 const char *path = mail_queue_path((VSTRING *) 0, queue_name, queue_id); in mail_queue_open()