Home
last modified time | relevance | path

Searched refs:SM_FILE_T (Results 1 – 25 of 80) sorted by relevance

1234

/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dio.h103 typedef struct sm_file SM_FILE_T; typedef
121 int (*f_close) __P((SM_FILE_T *));
122 ssize_t (*f_read) __P((SM_FILE_T *, char *, size_t));
123 off_t (*f_seek) __P((SM_FILE_T *, off_t, int));
124 ssize_t (*f_write) __P((SM_FILE_T *, const char *, size_t));
125 int (*f_open) __P((SM_FILE_T *, const void *, int,
127 int (*f_setinfo) __P((SM_FILE_T *, int , void *));
128 int (*f_getinfo) __P((SM_FILE_T *, int , void *));
151 extern SM_FILE_T SmIoF[];
153 extern SM_FILE_T SmFtStdio_def;
[all …]
H A Dexc.h40 void (*etype_print) __P((SM_EXC_T *, SM_FILE_T *));
50 SM_FILE_T *_stream));
103 SM_FILE_T *_stream));
108 SM_FILE_T *_stream));
H A Ddebug.h27 extern SM_FILE_T *
31 sm_debug_setfile __P(( SM_FILE_T *));
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dlocal.h28 int sm_flush __P((SM_FILE_T *, int *));
29 SM_FILE_T *smfp __P((void));
30 int sm_refill __P((SM_FILE_T *, int));
33 void sm_makebuf __P((SM_FILE_T *));
34 int sm_whatbuf __P((SM_FILE_T *, size_t *, int *));
35 int sm_fwalk __P((int (*)(SM_FILE_T *, int *), int *));
36 int sm_wsetup __P((SM_FILE_T *));
38 SM_FILE_T *sm_fp __P((const SM_FILE_T *, const int, SM_FILE_T *));
42 ssize_t sm_stdread __P((SM_FILE_T *, char *, size_t));
43 ssize_t sm_stdwrite __P((SM_FILE_T *, char const *, size_t));
[all …]
H A Dfopen.c29 extern int sm_io_fclose __P((SM_FILE_T *));
106 SM_FILE_T *
108 const SM_FILE_T *type; in sm_io_open()
114 register SM_FILE_T *fp;
182 SM_FILE_T *
184 SM_FILE_T *fp; in sm_io_dup()
220 SM_FILE_T *
222 const SM_FILE_T *type; in sm_io_reopen()
227 SM_FILE_T *fp;
230 SM_FILE_T *fp2;
[all …]
H A Dfindfp.c36 SM_FILE_T SmFtStdio_def =
43 SM_FILE_T SmFtStdiofd_def =
50 SM_FILE_T SmFtString_def =
58 SM_FILE_T SmFtSyslog_def =
81 SM_FILE_T SmFtRealStdio_def = smstd(SMRW|SMNBF, -1, "realstdio");
84 static SM_FILE_T usual[SM_IO_OPEN_MAX - 3];
88 SM_FILE_T SmIoF[6] =
113 static SM_FILE_T empty;
120 register SM_FILE_T *p;
123 n * sizeof(SM_FILE_T));
[all …]
H A Dstdio.c32 static int sm_stdsetmode __P((SM_FILE_T *, const int *));
33 static int sm_stdgetmode __P((SM_FILE_T *, int *));
61 SM_FILE_T *fp; in sm_stdopen()
126 SM_FILE_T *fp; in sm_stdread()
155 SM_FILE_T *fp; in sm_stdwrite()
180 SM_FILE_T *fp; in sm_stdseek()
205 SM_FILE_T *fp; in sm_stdclose()
226 SM_FILE_T *fp; in sm_stdsetmode()
268 SM_FILE_T *fp; in sm_stdgetmode()
304 SM_FILE_T *fp; in sm_stdsetinfo()
[all …]
H A Dsmstdio.c22 static void setup __P((SM_FILE_T *));
51 SM_FILE_T *fp; in sm_stdioopen()
114 SM_FILE_T *fp; in setup()
150 SM_FILE_T *fp; in sm_stdioread()
176 SM_FILE_T *fp; in sm_stdiowrite()
202 SM_FILE_T *fp; in sm_stdioseek()
226 SM_FILE_T *fp; in sm_stdioclose()
252 SM_FILE_T *fp; in sm_stdiosetinfo()
281 SM_FILE_T *fp; in sm_stdiogetinfo()
324 SM_FILE_T *
[all …]
H A Dstrio.c28 static int sm_strsetmode __P((SM_FILE_T*, const int *));
29 static int sm_strgetmode __P((SM_FILE_T*, int *));
93 SM_FILE_T *fp; in sm_strread()
126 SM_FILE_T *fp; in sm_strwrite()
165 SM_FILE_T *fp; in sm_strseek()
218 SM_FILE_T *fp; in sm_stropen()
293 SM_FILE_T *fp; in sm_strclose()
321 SM_FILE_T *fp; in sm_strsetmode()
364 SM_FILE_T *fp; in sm_strgetmode()
404 SM_FILE_T *fp; in sm_strsetinfo()
[all …]
H A Dsscanf.c36 SM_FILE_T *fp,
43 SM_FILE_T *fp; in sm_eofread()
79 SM_FILE_T fake;
H A Drefill.c30 static int sm_lflush __P((SM_FILE_T *, int *));
118 SM_FILE_T *fp; in sm_lflush()
141 register SM_FILE_T *fp; in sm_refill()
293 register SM_FILE_T *fp; in sm_rget()
H A Dfprintf.c38 sm_io_fprintf(SM_FILE_T *fp, int timeout, const char *fmt, ...) in sm_io_fprintf()
41 SM_FILE_T *fp; in sm_io_fprintf()
H A Dfscanf.c38 sm_io_fscanf(SM_FILE_T *fp, int timeout, char const *fmt, ...) in sm_io_fscanf()
41 SM_FILE_T *fp; in sm_io_fscanf()
H A Dungetc.c29 static void sm_submore_x __P((SM_FILE_T *));
51 SM_FILE_T *fp; in sm_submore_x()
97 register SM_FILE_T *fp; in sm_io_ungetc()
H A Dfwalk.c35 int (*function) __P((SM_FILE_T *, int *));
38 register SM_FILE_T *fp;
H A Dexc.c54 SM_FILE_T *stream;
152 SM_FILE_T *stream));
157 SM_FILE_T *stream;
502 SM_FILE_T *stream;
522 SM_FILE_T *stream;
H A Ddebug.c48 static SM_FILE_T *SmDebugOutput = smioout;
60 SM_FILE_T *
81 SM_FILE_T *fp; in sm_debug_setfile()
H A Dfflush.c46 register SM_FILE_T *fp;
90 register SM_FILE_T *fp; in sm_flush()
H A Dmakebuf.c41 register SM_FILE_T *fp;
93 register SM_FILE_T *fp; in sm_whatbuf()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dsfsasl.c29 SM_FILE_T *fp;
35 SM_FILE_T *fp;
53 static int sasl_getinfo __P((SM_FILE_T *, int, void *));
57 SM_FILE_T *fp; in sasl_getinfo()
97 static int sasl_open __P((SM_FILE_T *, const void *, int, const void *));
102 SM_FILE_T *fp; in sasl_open()
145 static int sasl_close __P((SM_FILE_T *));
149 SM_FILE_T *fp; in sasl_close()
183 static ssize_t sasl_read __P((SM_FILE_T *, char *, size_t));
187 SM_FILE_T *fp; in sasl_read()
[all …]
H A Dbf.h18 extern SM_FILE_T *bfopen __P((char *, MODE_T, size_t, long));
19 extern int bfcommit __P((SM_FILE_T *));
20 extern int bfrewind __P((SM_FILE_T *));
21 extern int bftruncate __P((SM_FILE_T *));
22 extern int bfclose __P((SM_FILE_T *));
23 extern bool bftest __P((SM_FILE_T *));
H A Dbf.c37 static ssize_t sm_bfread __P((SM_FILE_T *, char *, size_t));
38 static ssize_t sm_bfwrite __P((SM_FILE_T *, const char *, size_t));
39 static off_t sm_bfseek __P((SM_FILE_T *, off_t, int));
40 static int sm_bfclose __P((SM_FILE_T *));
41 static int sm_bfcommit __P((SM_FILE_T *));
42 static int sm_bftruncate __P((SM_FILE_T *));
44 static int sm_bfopen __P((SM_FILE_T *, const void *, int, const void *));
45 static int sm_bfsetinfo __P((SM_FILE_T *, int , void *));
46 static int sm_bfgetinfo __P((SM_FILE_T *, int , void *));
99 SM_FILE_T *fp; in sm_bfopen()
[all …]
H A Dsfsasl.h16 extern int sfdcsasl __P((SM_FILE_T **, SM_FILE_T **, sasl_conn_t *, int));
22 extern int sfdctls __P((SM_FILE_T **, SM_FILE_T **, SSL *));
H A Dsendmail.h346 extern void printaddr __P((SM_FILE_T *, ADDRESS *, bool));
666 SM_FILE_T *mci_in; /* input side of connection */
667 SM_FILE_T *mci_out; /* output side of connection */
675 SM_FILE_T *mci_statfile; /* long term status file */
749 extern void mci_dump __P((SM_FILE_T *, MCI *, bool));
750 extern void mci_dump_all __P((SM_FILE_T *, bool));
897 SM_FILE_T *e_dfp; /* data file */
908 SM_FILE_T *e_xfp; /* transcript file */
909 SM_FILE_T *e_lockfp; /* the lock file for this message */
1431 extern void proc_list_display __P((SM_FILE_T *, char *));
[all …]
H A Dcollect.c20 static SM_FILE_T *collect_dfopen __P((ENVELOPE *));
21 static SM_FILE_T *collect_eoh __P((ENVELOPE *, int, int));
46 static SM_FILE_T *
193 static SM_FILE_T *
200 SM_FILE_T *df;
280 SM_FILE_T *fp; in collect()
286 register SM_FILE_T *df;
949 SM_FILE_T *volatile df; in dferror()

1234