| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | vstring.h | 31 typedef struct VSTRING { struct 33 } VSTRING; typedef 35 extern VSTRING *vstring_alloc(ssize_t); 36 extern void vstring_ctl(VSTRING *,...); 37 extern VSTRING *vstring_truncate(VSTRING *, ssize_t); 38 extern VSTRING *vstring_set_payload_size(VSTRING *, ssize_t); 39 extern VSTRING *vstring_free(VSTRING *); 40 extern VSTRING *vstring_strcpy(VSTRING *, const char *); 41 extern VSTRING *vstring_strncpy(VSTRING *, const char *, ssize_t); 42 extern VSTRING *vstring_strcat(VSTRING *, const char *); [all …]
|
| H A D | vstring.c | 370 VSTRING *vstring_alloc(ssize_t len) in vstring_alloc() 372 VSTRING *vp; in vstring_alloc() 380 vp = (VSTRING *) mymalloc(sizeof(*vp)); in vstring_alloc() 396 VSTRING *vstring_free(VSTRING *vp) in vstring_free() 406 void vstring_ctl(VSTRING *vp,...) in vstring_ctl() 426 VSTRING *vstring_truncate(VSTRING *vp, ssize_t len) in vstring_truncate() 442 VSTRING *vstring_set_payload_size(VSTRING *vp, ssize_t len) in vstring_set_payload_size() 454 VSTRING *vstring_strcpy(VSTRING *vp, const char *src) in vstring_strcpy() 468 VSTRING *vstring_strncpy(VSTRING *vp, const char *src, ssize_t len) in vstring_strncpy() 482 VSTRING *vstring_strcat(VSTRING *vp, const char *src) in vstring_strcat() [all …]
|
| H A D | base64_code.c | 90 extern VSTRING *base64_encode(VSTRING *, const char *, ssize_t); 92 VSTRING *base64_encode(VSTRING *result, const char *in, ssize_t len) in base64_encode() 97 VSTRING *base64_encode_opt(VSTRING *result, const char *in, ssize_t len, in base64_encode_opt() 135 extern VSTRING *base64_decode(VSTRING *, const char *, ssize_t); 137 VSTRING *base64_decode(VSTRING *result, const char *in, ssize_t len) in base64_decode() 142 VSTRING *base64_decode_opt(VSTRING *result, const char *in, ssize_t len, in base64_decode_opt() 208 VSTRING *b1 = vstring_alloc(1); in main() 209 VSTRING *b2 = vstring_alloc(1); in main()
|
| H A D | hex_code.h | 30 extern VSTRING *hex_encode(VSTRING *, const char *, ssize_t); 31 extern VSTRING *WARN_UNUSED_RESULT hex_decode(VSTRING *, const char *, ssize_t); 32 extern VSTRING *hex_encode_opt(VSTRING *, const char *, ssize_t, int); 33 extern VSTRING *WARN_UNUSED_RESULT hex_decode_opt(VSTRING *, const char *, ssize_t, int);
|
| H A D | netstring.h | 33 extern VSTRING *netstring_get_data(VSTREAM *, VSTRING *, ssize_t); 35 extern VSTRING *netstring_get(VSTREAM *, VSTRING *, ssize_t); 39 extern VSTRING *netstring_memcpy(VSTRING *, const char *, ssize_t); 40 extern VSTRING *netstring_memcat(VSTRING *, const char *, ssize_t);
|
| H A D | vstream_test.ref | 16 memory stream test prep: prefill the VSTRING 17 VSTRING content length: 8/8, content: 01234567 19 memory stream test: open the VSTRING for writing, overwrite, close 22 VSTRING content length: 5/8, content: hallo 24 memory stream test: open the VSTRING for append, write multiple, then overwrite 1 27 VSTRING content length: 11/16, content: hallo world 30 VSTRING content length: 11/16, content: hello world 32 memory stream test: open VSTRING for reading, then read 40 VSTRING content length: 11/16, content: hello world
|
| H A D | sane_basename.c | 71 char *sane_basename(VSTRING *bp, const char *path) in sane_basename() 73 static VSTRING *buf; in sane_basename() 115 char *sane_dirname(VSTRING *bp, const char *path) in sane_dirname() 117 static VSTRING *buf; in sane_dirname() 168 VSTRING *buf = vstring_alloc(10); in main() 173 dir = sane_dirname((VSTRING *) 0, STR(buf)); in main() 174 base = sane_basename((VSTRING *) 0, STR(buf)); in main()
|
| H A D | hex_code.c | 99 VSTRING *hex_encode(VSTRING *result, const char *in, ssize_t len) in hex_encode() 106 VSTRING *hex_encode_opt(VSTRING *result, const char *in, ssize_t len, int flags) in hex_encode_opt() 128 VSTRING *hex_decode(VSTRING *result, const char *in, ssize_t len) in hex_decode() 135 VSTRING *hex_decode_opt(VSTRING *result, const char *in, ssize_t len, int flags) in hex_decode_opt() 193 VSTRING *b1 = vstring_alloc(1); in main() 194 VSTRING *b2 = vstring_alloc(1); in main()
|
| H A D | stringops.h | 28 extern char *casefoldx(int, VSTRING *, const char *, ssize_t); 53 extern char *sane_basename(VSTRING *, const char *); 54 extern char *sane_dirname(VSTRING *, const char *); 55 extern VSTRING *unescape(VSTRING *, const char *); 56 extern VSTRING *escape(VSTRING *, const char *, ssize_t);
|
| /netbsd-src/external/ibm-public/postfix/dist/src/tls/ |
| H A D | tls_proxy_client_scan.c | 151 VSTRING *cnf_file = vstring_alloc(25); in tls_proxy_client_param_scan() 152 VSTRING *cnf_name = vstring_alloc(25); in tls_proxy_client_param_scan() 153 VSTRING *tls_high_clist = vstring_alloc(25); in tls_proxy_client_param_scan() 154 VSTRING *tls_medium_clist = vstring_alloc(25); in tls_proxy_client_param_scan() 155 VSTRING *tls_null_clist = vstring_alloc(25); in tls_proxy_client_param_scan() 156 VSTRING *tls_eecdh_auto = vstring_alloc(25); in tls_proxy_client_param_scan() 157 VSTRING *tls_eecdh_strong = vstring_alloc(25); in tls_proxy_client_param_scan() 158 VSTRING *tls_eecdh_ultra = vstring_alloc(25); in tls_proxy_client_param_scan() 159 VSTRING *tls_ffdhe_auto = vstring_alloc(25); in tls_proxy_client_param_scan() 160 VSTRING *tls_bug_tweaks = vstring_alloc(25); in tls_proxy_client_param_scan() [all …]
|
| H A D | tls_proxy_server_scan.c | 94 VSTRING *log_param = vstring_alloc(25); in tls_proxy_server_init_scan() 95 VSTRING *log_level = vstring_alloc(25); in tls_proxy_server_init_scan() 96 VSTRING *cache_type = vstring_alloc(25); in tls_proxy_server_init_scan() 97 VSTRING *chain_files = vstring_alloc(25); in tls_proxy_server_init_scan() 98 VSTRING *cert_file = vstring_alloc(25); in tls_proxy_server_init_scan() 99 VSTRING *key_file = vstring_alloc(25); in tls_proxy_server_init_scan() 100 VSTRING *dcert_file = vstring_alloc(25); in tls_proxy_server_init_scan() 101 VSTRING *dkey_file = vstring_alloc(25); in tls_proxy_server_init_scan() 102 VSTRING *eccert_file = vstring_alloc(25); in tls_proxy_server_init_scan() 103 VSTRING *eckey_file = vstring_alloc(25); in tls_proxy_server_init_scan() [all …]
|
| H A D | tls_proxy_context_scan.c | 77 VSTRING *peer_CN = vstring_alloc(25); in tls_proxy_context_scan() 78 VSTRING *issuer_CN = vstring_alloc(25); in tls_proxy_context_scan() 79 VSTRING *peer_cert_fprint = vstring_alloc(60); /* 60 for SHA-1 */ in tls_proxy_context_scan() 80 VSTRING *peer_pkey_fprint = vstring_alloc(60); /* 60 for SHA-1 */ in tls_proxy_context_scan() 81 VSTRING *protocol = vstring_alloc(25); in tls_proxy_context_scan() 82 VSTRING *cipher_name = vstring_alloc(25); in tls_proxy_context_scan() 83 VSTRING *kex_name = vstring_alloc(25); in tls_proxy_context_scan() 84 VSTRING *kex_curve = vstring_alloc(25); in tls_proxy_context_scan() 85 VSTRING *clnt_sig_name = vstring_alloc(25); in tls_proxy_context_scan() 86 VSTRING *clnt_sig_curve = vstring_alloc(25); in tls_proxy_context_scan() [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/cleanup/ |
| H A D | cleanup.h | 50 VSTRING *attr_buf; /* storage for named attribute */ 51 VSTRING *temp1; /* scratch buffer, local use only */ 52 VSTRING *temp2; /* scratch buffer, local use only */ 53 VSTRING *stripped_buf; /* character stripped input */ 119 VSTRING *milter_ext_from; /* externalized sender */ 120 VSTRING *milter_ext_rcpt; /* externalized recipient */ 121 VSTRING *milter_err_text; /* milter call-back reply */ 122 VSTRING *milter_dsn_buf; /* Milter DSN parsing buffer */ 167 extern VSTRING *cleanup_reject_chars; 168 extern VSTRING *cleanup_strip_chars; [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtp/ |
| H A D | smtp.h | 59 VSTRING *request_nexthop; /* delivery request nexhop or empty */ 60 VSTRING *dest; /* current nexthop */ 61 VSTRING *host; /* hostname or empty */ 62 VSTRING *addr; /* printable address or empty */ 67 VSTRING *saved_dest; /* saved current nexthop */ 106 VSTRING *exclusions; /* Excluded SSL ciphers */ 180 VSTRING *dest_label; /* cached logical/physical binding */ 181 VSTRING *dest_prop; /* binding properties, passivated */ 182 VSTRING *endp_label; /* cached session physical endpoint */ 183 VSTRING *endp_prop; /* endpoint properties, passivated */ [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/global/ |
| H A D | xtext.h | 24 extern VSTRING *xtext_quote(VSTRING *, const char *, const char *); 25 extern VSTRING *xtext_quote_append(VSTRING *, const char *, const char *); 26 extern VSTRING *xtext_unquote(VSTRING *, const char *); 27 extern VSTRING *xtext_unquote_append(VSTRING *, const char *);
|
| H A D | uxtext.h | 24 extern VSTRING *uxtext_quote(VSTRING *, const char *, const char *); 25 extern VSTRING *uxtext_quote_append(VSTRING *, const char *, const char *); 26 extern VSTRING *uxtext_unquote(VSTRING *, const char *); 27 extern VSTRING *uxtext_unquote_append(VSTRING *, const char *);
|
| H A D | xtext.c | 80 VSTRING *xtext_quote_append(VSTRING *quoted, const char *unquoted, in xtext_quote_append() 100 VSTRING *xtext_quote(VSTRING *quoted, const char *unquoted, const char *special) in xtext_quote() 109 VSTRING *xtext_unquote_append(VSTRING *unquoted, const char *quoted) in xtext_unquote_append() 141 VSTRING *xtext_unquote(VSTRING *unquoted, const char *quoted) in xtext_unquote() 156 static ssize_t read_buf(VSTREAM *fp, VSTRING *buf) in read_buf() 167 VSTRING *unquoted = vstring_alloc(BUFLEN); in main() 168 VSTRING *quoted = vstring_alloc(100); in main()
|
| H A D | mail_queue.c | 147 const char *mail_queue_dir(VSTRING *buf, const char *queue_name, in mail_queue_dir() 151 static VSTRING *private_buf = 0; in mail_queue_dir() 152 static VSTRING *hash_buf = 0; in mail_queue_dir() 154 static VSTRING *usec_buf = 0; in mail_queue_dir() 206 const char *mail_queue_path(VSTRING *buf, const char *queue_name, in mail_queue_path() 209 static VSTRING *private_buf = 0; in mail_queue_path() 252 VSTRING *old_buf = vstring_alloc(100); in mail_queue_rename() 253 VSTRING *new_buf = vstring_alloc(100); in mail_queue_rename() 278 return (REMOVE(mail_queue_path((VSTRING *) 0, queue_name, queue_id))); in mail_queue_remove() 325 static VSTRING *sec_buf; in mail_queue_enter() [all …]
|
| H A D | rewrite_clnt.c | 83 static VSTRING *last_rule; 84 static VSTRING *last_addr; 85 static VSTRING *last_result; 98 VSTRING *rewrite_clnt(const char *rule, const char *addr, VSTRING *result) in rewrite_clnt() 193 VSTRING *rewrite_clnt_internal(const char *ruleset, const char *addr, VSTRING *result) in rewrite_clnt_internal() 195 VSTRING *src = vstring_alloc(100); in rewrite_clnt_internal() 196 VSTRING *dst = vstring_alloc(100); in rewrite_clnt_internal() 225 static void rewrite(char *rule, char *addr, VSTRING *reply) in rewrite() 236 VSTRING *reply; in main() 268 VSTRING *buffer = vstring_alloc(1); in main()
|
| H A D | uxtext.c | 83 VSTRING *uxtext_quote_append(VSTRING *quoted, const char *unquoted, in uxtext_quote_append() 145 VSTRING *uxtext_quote(VSTRING *quoted, const char *unquoted, const char *special) in uxtext_quote() 154 VSTRING *uxtext_unquote_append(VSTRING *unquoted, const char *quoted) in uxtext_unquote_append() 221 VSTRING *uxtext_unquote(VSTRING *unquoted, const char *quoted) in uxtext_unquote() 236 static ssize_t read_buf(VSTREAM *fp, VSTRING *buf) in read_buf() 247 VSTRING *unquoted = vstring_alloc(BUFLEN); in main() 248 VSTRING *quoted = vstring_alloc(100); in main()
|
| H A D | deliver_request.c | 200 static VSTRING *queue_name; in deliver_request_get() 201 static VSTRING *queue_id; in deliver_request_get() 202 static VSTRING *nexthop; in deliver_request_get() 203 static VSTRING *encoding; in deliver_request_get() 204 static VSTRING *address; in deliver_request_get() 205 static VSTRING *client_name; in deliver_request_get() 206 static VSTRING *client_addr; in deliver_request_get() 207 static VSTRING *client_port; in deliver_request_get() 208 static VSTRING *client_proto; in deliver_request_get() 209 static VSTRING *client_helo; in deliver_request_get() [all …]
|
| H A D | dsn_buf.h | 32 VSTRING *status; /* RFC 3463 */ 33 VSTRING *action; /* RFC 3464 */ 34 VSTRING *mtype; /* null or remote MTA type */ 35 VSTRING *mname; /* null or remote MTA name */ 36 VSTRING *dtype; /* null, smtp, x-unix */ 37 VSTRING *dtext; /* null, RFC 2821, sysexits.h */ 39 VSTRING *reason; /* free text */
|
| H A D | quote_822_local.c | 133 static VSTRING *make_822_quoted_string(VSTRING *dst, const char *local_part, in make_822_quoted_string() 156 VSTRING *quote_822_local_flags(VSTRING *dst, const char *mbox, int flags) in quote_822_local_flags() 188 VSTRING *unquote_822_local(VSTRING *dst, const char *mbox) in unquote_822_local() 251 VSTRING *in = vstring_alloc(100); in main() 252 VSTRING *out = vstring_alloc(100); in main() 281 bp, quote_flags_to_string((VSTRING *) 0, flags), STR(out)); in main()
|
| /netbsd-src/external/ibm-public/postfix/dist/src/smtpd/ |
| H A D | smtpd.h | 50 VSTRING *reason; /* reason for deferral */ 51 VSTRING *dsn; /* DSN detail */ 73 VSTRING *buffer; /* SMTP client buffer */ 74 VSTRING *addr_buf; /* internalized address buffer */ 125 VSTRING *sasl_reply; 151 VSTRING *expand_buf; /* scratch space for $name expansion */ 153 VSTRING *instance; /* policy query correlation */ 158 VSTRING *dsn_buf; /* scratch space for xtext expansion */ 159 VSTRING *dsn_orcpt_buf; /* scratch space for ORCPT parsing */ 193 VSTRING *ehlo_buf; [all …]
|
| /netbsd-src/external/ibm-public/postfix/dist/src/flush/ |
| H A D | flush.c | 268 static VSTRING *flush_site_to_path(VSTRING *path, const char *site) in flush_site_to_path() 309 VSTRING *site_path; in flush_add_service() 324 if ((site_path = flush_site_to_path((VSTRING *) 0, site)) == 0) in flush_add_service() 386 VSTRING *site_path; in flush_send_service() 401 if ((site_path = flush_site_to_path((VSTRING *) 0, site)) == 0) in flush_send_service() 411 static int flush_one_file(const char *queue_id, VSTRING *queue_file, in flush_one_file() 448 VSTRING *why; in flush_one_file() 494 VSTRING *queue_id; in flush_send_path() 495 VSTRING *queue_file; in flush_send_path() 626 VSTRING *queue_file; in flush_send_file_service() [all …]
|