Home
last modified time | relevance | path

Searched refs:VSTRING (Results 1 – 25 of 601) sorted by relevance

12345678910>>...25

/dports/mail/postfix-current/postfix-3.7-20211107/src/util/
H A Dvstring.h31 } VSTRING; typedef
35 extern VSTRING *vstring_truncate(VSTRING *, ssize_t);
36 extern VSTRING *vstring_set_payload_size(VSTRING *, ssize_t);
37 extern VSTRING *vstring_free(VSTRING *);
38 extern VSTRING *vstring_strcpy(VSTRING *, const char *);
39 extern VSTRING *vstring_strncpy(VSTRING *, const char *, ssize_t);
40 extern VSTRING *vstring_strcat(VSTRING *, const char *);
41 extern VSTRING *vstring_strncat(VSTRING *, const char *, ssize_t);
42 extern VSTRING *vstring_memcpy(VSTRING *, const char *, ssize_t);
43 extern VSTRING *vstring_memcat(VSTRING *, const char *, ssize_t);
[all …]
H A Dvstring.c370 VSTRING *vp; in vstring_alloc()
394 VSTRING *vstring_free(VSTRING *vp) in vstring_free()
424 VSTRING *vstring_truncate(VSTRING *vp, ssize_t len) in vstring_truncate()
440 VSTRING *vstring_set_payload_size(VSTRING *vp, ssize_t len) in vstring_set_payload_size()
452 VSTRING *vstring_strcpy(VSTRING *vp, const char *src) in vstring_strcpy()
466 VSTRING *vstring_strncpy(VSTRING *vp, const char *src, ssize_t len) in vstring_strncpy()
480 VSTRING *vstring_strcat(VSTRING *vp, const char *src) in vstring_strcat()
504 VSTRING *vstring_memcpy(VSTRING *vp, const char *src, ssize_t len) in vstring_memcpy()
516 VSTRING *vstring_memcat(VSTRING *vp, const char *src, ssize_t len) in vstring_memcat()
604 VSTRING *vp; in vstring_import()
[all …]
H A Dbase64_code.c88 extern VSTRING *base64_encode(VSTRING *, const char *, ssize_t);
90 VSTRING *base64_encode(VSTRING *result, const char *in, ssize_t len) in base64_encode()
95 VSTRING *base64_encode_opt(VSTRING *result, const char *in, ssize_t len, in base64_encode_opt()
133 extern VSTRING *base64_decode(VSTRING *, const char *, ssize_t);
135 VSTRING *base64_decode(VSTRING *result, const char *in, ssize_t len) in base64_decode()
140 VSTRING *base64_decode_opt(VSTRING *result, const char *in, ssize_t len, in base64_decode_opt()
206 VSTRING *b1 = vstring_alloc(1); in main()
207 VSTRING *b2 = vstring_alloc(1); in main()
H A Dhex_code.h28 extern VSTRING *hex_encode(VSTRING *, const char *, ssize_t);
29 extern VSTRING *WARN_UNUSED_RESULT hex_decode(VSTRING *, const char *, ssize_t);
30 extern VSTRING *hex_encode_opt(VSTRING *, const char *, ssize_t, int);
31 extern VSTRING *WARN_UNUSED_RESULT hex_decode_opt(VSTRING *, const char *, ssize_t, int);
H A Dnetstring.h31 extern VSTRING *netstring_get_data(VSTREAM *, VSTRING *, ssize_t);
33 extern VSTRING *netstring_get(VSTREAM *, VSTRING *, ssize_t);
37 extern VSTRING *netstring_memcpy(VSTRING *, const char *, ssize_t);
38 extern VSTRING *netstring_memcat(VSTRING *, const char *, ssize_t);
H A Dvstream_test.ref16 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 Dstringops.h26 extern char *casefoldx(int, VSTRING *, const char *, ssize_t);
44 extern char *sane_basename(VSTRING *, const char *);
45 extern char *sane_dirname(VSTRING *, const char *);
46 extern VSTRING *unescape(VSTRING *, const char *);
47 extern VSTRING *escape(VSTRING *, const char *, ssize_t);
H A Dsane_basename.c69 char *sane_basename(VSTRING *bp, const char *path) in sane_basename()
71 static VSTRING *buf; in sane_basename()
113 char *sane_dirname(VSTRING *bp, const char *path) in sane_dirname()
115 static VSTRING *buf; in sane_dirname()
166 VSTRING *buf = vstring_alloc(10); in main()
171 dir = sane_dirname((VSTRING *) 0, STR(buf)); in main()
172 base = sane_basename((VSTRING *) 0, STR(buf)); in main()
H A Dhex_quote.c63 VSTRING *hex_quote(VSTRING *hex, const char *raw) in hex_quote()
82 VSTRING *hex_unquote(VSTRING *raw, const char *hex) in hex_unquote()
123 static ssize_t read_buf(VSTREAM *fp, VSTRING *buf) in read_buf()
134 VSTRING *raw = vstring_alloc(BUFLEN); in main()
135 VSTRING *hex = vstring_alloc(100); in main()
/dports/mail/postfix-current/postfix-3.7-20211107/src/tls/
H A Dtls_proxy_client_scan.c253 VSTRING *key_file = vstring_alloc(25); in tls_proxy_client_init_scan()
258 VSTRING *CAfile = vstring_alloc(25); in tls_proxy_client_init_scan()
259 VSTRING *CApath = vstring_alloc(25); in tls_proxy_client_init_scan()
260 VSTRING *mdalg = vstring_alloc(25); in tls_proxy_client_init_scan()
336 static VSTRING *data; in tls_proxy_client_tlsa_scan()
426 VSTRING *nexthop = vstring_alloc(25); in tls_proxy_client_start_scan()
427 VSTRING *host = vstring_alloc(25); in tls_proxy_client_start_scan()
428 VSTRING *namaddr = vstring_alloc(25); in tls_proxy_client_start_scan()
429 VSTRING *sni = vstring_alloc(25); in tls_proxy_client_start_scan()
431 VSTRING *helo = vstring_alloc(25); in tls_proxy_client_start_scan()
[all …]
H A Dtls_proxy_server_scan.c92 VSTRING *log_param = vstring_alloc(25); in tls_proxy_server_init_scan()
93 VSTRING *log_level = vstring_alloc(25); in tls_proxy_server_init_scan()
96 VSTRING *cert_file = vstring_alloc(25); in tls_proxy_server_init_scan()
97 VSTRING *key_file = vstring_alloc(25); in tls_proxy_server_init_scan()
99 VSTRING *dkey_file = vstring_alloc(25); in tls_proxy_server_init_scan()
102 VSTRING *CAfile = vstring_alloc(25); in tls_proxy_server_init_scan()
103 VSTRING *CApath = vstring_alloc(25); in tls_proxy_server_init_scan()
104 VSTRING *protocols = vstring_alloc(25); in tls_proxy_server_init_scan()
108 VSTRING *mdalg = vstring_alloc(25); in tls_proxy_server_init_scan()
196 VSTRING *namaddr = vstring_alloc(25); in tls_proxy_server_start_scan()
[all …]
H A Dtls_proxy_context_scan.c75 VSTRING *peer_CN = vstring_alloc(25); in tls_proxy_context_scan()
76 VSTRING *issuer_CN = vstring_alloc(25); in tls_proxy_context_scan()
79 VSTRING *protocol = vstring_alloc(25); in tls_proxy_context_scan()
80 VSTRING *cipher_name = vstring_alloc(25); in tls_proxy_context_scan()
81 VSTRING *kex_name = vstring_alloc(25); in tls_proxy_context_scan()
82 VSTRING *kex_curve = vstring_alloc(25); in tls_proxy_context_scan()
83 VSTRING *clnt_sig_name = vstring_alloc(25); in tls_proxy_context_scan()
85 VSTRING *clnt_sig_dgst = vstring_alloc(25); in tls_proxy_context_scan()
86 VSTRING *srvr_sig_name = vstring_alloc(25); in tls_proxy_context_scan()
88 VSTRING *srvr_sig_dgst = vstring_alloc(25); in tls_proxy_context_scan()
[all …]
/dports/mail/postfix-current/postfix-3.7-20211107/src/cleanup/
H A Dcleanup.h48 VSTRING *attr_buf; /* storage for named attribute */
49 VSTRING *temp1; /* scratch buffer, local use only */
50 VSTRING *temp2; /* scratch buffer, local use only */
51 VSTRING *stripped_buf; /* character stripped input */
117 VSTRING *milter_ext_from; /* externalized sender */
118 VSTRING *milter_ext_rcpt; /* externalized recipient */
119 VSTRING *milter_err_text; /* milter call-back reply */
167 extern VSTRING *cleanup_reject_chars;
168 extern VSTRING *cleanup_strip_chars;
201 extern VSTRING *cleanup_trace_path;
[all …]
H A Dcleanup_rewrite.c84 int cleanup_rewrite_external(const char *context_name, VSTRING *result, in cleanup_rewrite_external()
95 VSTRING *dst = vstring_alloc(100); in cleanup_rewrite_tree()
96 VSTRING *src = vstring_alloc(100); in cleanup_rewrite_tree()
111 VSTRING *result, const char *addr) in cleanup_rewrite_internal()
113 VSTRING *dst = vstring_alloc(100); in cleanup_rewrite_internal()
114 VSTRING *src = vstring_alloc(100); in cleanup_rewrite_internal()
/dports/mail/postfix-current/postfix-3.7-20211107/src/global/
H A Dxtext.h22 extern VSTRING *xtext_quote(VSTRING *, const char *, const char *);
23 extern VSTRING *xtext_quote_append(VSTRING *, const char *, const char *);
24 extern VSTRING *xtext_unquote(VSTRING *, const char *);
25 extern VSTRING *xtext_unquote_append(VSTRING *, const char *);
H A Duxtext.h22 extern VSTRING *uxtext_quote(VSTRING *, const char *, const char *);
23 extern VSTRING *uxtext_quote_append(VSTRING *, const char *, const char *);
24 extern VSTRING *uxtext_unquote(VSTRING *, const char *);
25 extern VSTRING *uxtext_unquote_append(VSTRING *, const char *);
H A Dxtext.c78 VSTRING *xtext_quote_append(VSTRING *quoted, const char *unquoted, in xtext_quote_append()
98 VSTRING *xtext_quote(VSTRING *quoted, const char *unquoted, const char *special) in xtext_quote()
107 VSTRING *xtext_unquote_append(VSTRING *unquoted, const char *quoted) in xtext_unquote_append()
139 VSTRING *xtext_unquote(VSTRING *unquoted, const char *quoted) in xtext_unquote()
154 static ssize_t read_buf(VSTREAM *fp, VSTRING *buf) in read_buf()
165 VSTRING *unquoted = vstring_alloc(BUFLEN); in main()
166 VSTRING *quoted = vstring_alloc(100); in main()
H A Dmail_queue.c149 static VSTRING *private_buf = 0; in mail_queue_dir()
150 static VSTRING *hash_buf = 0; in mail_queue_dir()
152 static VSTRING *usec_buf = 0; in mail_queue_dir()
207 static VSTRING *private_buf = 0; in mail_queue_path()
250 VSTRING *old_buf = vstring_alloc(100); in mail_queue_rename()
251 VSTRING *new_buf = vstring_alloc(100); in mail_queue_rename()
323 static VSTRING *sec_buf; in mail_queue_enter()
324 static VSTRING *usec_buf; in mail_queue_enter()
325 static VSTRING *id_buf; in mail_queue_enter()
327 static VSTRING *path_buf; in mail_queue_enter()
[all …]
H A Drewrite_clnt.c81 static VSTRING *last_rule;
82 static VSTRING *last_addr;
83 static VSTRING *last_result;
96 VSTRING *rewrite_clnt(const char *rule, const char *addr, VSTRING *result) in rewrite_clnt()
191 VSTRING *rewrite_clnt_internal(const char *ruleset, const char *addr, VSTRING *result) in rewrite_clnt_internal()
193 VSTRING *src = vstring_alloc(100); in rewrite_clnt_internal()
194 VSTRING *dst = vstring_alloc(100); in rewrite_clnt_internal()
223 static void rewrite(char *rule, char *addr, VSTRING *reply) in rewrite()
234 VSTRING *reply; in main()
266 VSTRING *buffer = vstring_alloc(1); in main()
H A Duxtext.c81 VSTRING *uxtext_quote_append(VSTRING *quoted, const char *unquoted, in uxtext_quote_append()
143 VSTRING *uxtext_quote(VSTRING *quoted, const char *unquoted, const char *special) in uxtext_quote()
152 VSTRING *uxtext_unquote_append(VSTRING *unquoted, const char *quoted) in uxtext_unquote_append()
219 VSTRING *uxtext_unquote(VSTRING *unquoted, const char *quoted) in uxtext_unquote()
234 static ssize_t read_buf(VSTREAM *fp, VSTRING *buf) in read_buf()
245 VSTRING *unquoted = vstring_alloc(BUFLEN); in main()
246 VSTRING *quoted = vstring_alloc(100); in main()
H A Ddsn_buf.h30 VSTRING *status; /* RFC 3463 */
31 VSTRING *action; /* RFC 3464 */
32 VSTRING *mtype; /* null or remote MTA type */
33 VSTRING *mname; /* null or remote MTA name */
34 VSTRING *dtype; /* null, smtp, x-unix */
35 VSTRING *dtext; /* null, RFC 2821, sysexits.h */
37 VSTRING *reason; /* free text */
H A Ddeliver_request.c198 static VSTRING *queue_name; in deliver_request_get()
199 static VSTRING *queue_id; in deliver_request_get()
200 static VSTRING *nexthop; in deliver_request_get()
201 static VSTRING *encoding; in deliver_request_get()
202 static VSTRING *address; in deliver_request_get()
203 static VSTRING *client_name; in deliver_request_get()
204 static VSTRING *client_addr; in deliver_request_get()
205 static VSTRING *client_port; in deliver_request_get()
207 static VSTRING *client_helo; in deliver_request_get()
211 static VSTRING *log_ident; in deliver_request_get()
[all …]
/dports/mail/postfix-current/postfix-3.7-20211107/src/smtp/
H A Dsmtp.h58 VSTRING *dest; /* current nexthop */
59 VSTRING *host; /* hostname or empty */
331 VSTRING *buffer; /* I/O buffer */
332 VSTRING *scratch; /* scratch buffer */
333 VSTRING *scratch2; /* scratch buffer */
353 VSTRING *sasl_reply; /* client response */
372 extern int smtp_session_passivate(SMTP_SESSION *, VSTRING *, VSTRING *);
373 extern SMTP_SESSION *smtp_session_activate(int, SMTP_ITERATOR *, VSTRING *, VSTRING *);
520 VSTRING *dsn_buf; /* status buffer */
521 VSTRING *str_buf; /* reply buffer */
[all …]
/dports/www/kannel/gateway-1.4.4/wap/
H A Dwsp_strings.def203 VSTRING(WSP_1_1, "*/*") /* 0x80 */
204 VSTRING(WSP_1_1, "text/*") /* 0x81 */
205 VSTRING(WSP_1_1, "text/html") /* 0x82 */
231 VSTRING(WSP_1_1, "image/*") /* 0x9C */
232 VSTRING(WSP_1_1, "image/gif") /* 0x9D */
243 VSTRING(WSP_1_1, "text/xml") /* 0xA8 */
264 VSTRING(WSP_1_4, "text/css") /* 0xBD */
282 VSTRING(WSP_1_6, "audio/*") /* 0xCF */
283 VSTRING(WSP_1_6, "video/*") /* 0xD0 */
292 VSTRING(WSP_TBD, "") /* 0xD9 */
[all …]
/dports/sysutils/apcpwr/apcpwr-1.3/
H A DMakefile16 VSTRING = apcpwr-${VERSION} macro
42 -rm -rf $(VSTRING) *.tar.gz
46 -rm -rf $(VSTRING)
47 mkdir $(VSTRING)
48 cp -p Makefile apcpwr.pl apcpwr.8 apcpwr.conf.dist $(VSTRING)
49 tar -czvf $(VSTRING).tar.gz $(VSTRING)
50 rm -rf $(VSTRING)

12345678910>>...25