Searched refs:type (Results 1 - 25 of 27) sorted by relevance

12

/sendmail/libsmutil/
H A Dlockfile.c26 ** type -- type of the lock. Bits can be:
37 lockfile(fd, filename, ext, type)
41 int type;
48 if (bitset(LOCK_UN, type))
50 else if (bitset(LOCK_EX, type))
54 if (bitset(LOCK_NB, type))
65 ** as type "tmp" (that is, served from swap space), the
76 if (flock(fd, type) >= 0)
/sendmail/libsmdb/
H A Dsmdb.c70 ** type -- type of the lock. Bits can be:
80 smdb_lockfile(fd, type)
82 int type;
91 if (bitset(LOCK_UN, type))
93 else if (bitset(LOCK_EX, type))
98 if (bitset(LOCK_NB, type))
112 ** as type "tmp" (that is, served from swap space), the
121 if (!bitset(LOCK_NB, type) ||
128 syslog(LOG_ERR, "cannot lockf(%s%s, fd=%d, type
524 SMDB_DBTYPE type; member in struct:__anon11
[all...]
H A Dsmdb1.c57 ** SMDB_TYPE_TO_DB1_TYPE -- Translates smdb database type to db1 type.
60 ** type -- The type to translate.
63 ** The DB1 type that corresponsds to the passed in SMDB type.
64 ** Returns -1 if there is no equivalent type.
69 smdb_type_to_db1_type(type)
70 SMDB_DBTYPE type;
72 if (type
[all...]
H A Dsmdb2.c33 ** SMDB_TYPE_TO_DB2_TYPE -- Translates smdb database type to db2 type.
36 ** type -- The type to translate.
39 ** The DB2 type that corresponsds to the passed in SMDB type.
40 ** Returns -1 if there is no equivalent type.
45 smdb_type_to_db2_type(type)
46 SMDB_DBTYPE type;
48 if (type
[all...]
H A Dsmndbm.c472 ** type -- The type of database to open.
481 ** SMDBE_UNSUPPORTED -- The type is not supported.
489 smdb_ndbm_open(database, db_name, mode, mode_mask, sff, type, user_info,
496 SMDB_DBTYPE type;
512 if (type == NULL)
/sendmail/include/sm/
H A Dvarargs.h42 # define SM_VA_ARG(ap, type) va_arg(ap, type)
H A Dgen.h47 # define offsetof(type, member) ((size_t)(&((type *)0)->member))
H A Dtailq.h57 #define SM_TAILQ_HEAD(name, type) \
59 struct type *tqh_first; /* first element */ \
60 struct type **tqh_last; /* addr of last next element */ \
66 #define SM_TAILQ_ENTRY(type) \
68 struct type *tqe_next; /* next element */ \
69 struct type **tqe_prev; /* address of previous next element */ \
H A Dexc.h74 # define SM_EXC_INITIALIZER(type, argv) \
78 type, \
/sendmail/sendmail/
H A Dstab.c23 ** type -- the type of symbol.
42 stab(name, type, op)
44 int type;
54 sm_dprintf("STAB: %s %d ", name, type);
60 hfunc = type;
68 if (type == ST_MACRO || type == ST_RULESET || type == ST_NAMECANON)
71 (s->s_symtype != type || strcm
[all...]
H A Dsm_resolve.c80 ** DNS_STRING_TO_TYPE -- convert resource record name into type
83 ** name -- name of resource record type
86 ** type if succeeded.
103 ** DNS_TYPE_TO_STRING -- convert resource record type into name
106 ** type -- resource record type
114 dns_type_to_string(type)
115 int type;
120 if (type == p->st_type)
214 int type, clas local
[all...]
H A Dstats.c33 ** type -- type of stats this represents.
43 markstats(e, to, type)
46 int type;
48 switch (type)
H A Dmime.c115 char *type; local
167 type = subtype = NULL;
186 type = *pvp++;
226 if (type == NULL)
227 type = "-none-";
242 (void) sm_snprintf(buf, sizeof(buf), "%.100s/%.100s", type, subtype);
247 if (wordinclass(buf, 'b') || wordinclass(type, 'b'))
250 if (wordinclass(buf, 'q') || wordinclass(type, 'q'))
259 if (sm_strcasecmp(type, "multipart") == 0 &&
396 if (sm_strcasecmp(type, "messag
893 int type = MBT_NOTSEP; local
[all...]
H A Ddomain.c203 unsigned short pref, type; local
334 GETSHORT(type, cp);
338 if (type != T_MX)
341 sm_dprintf("unexpected answer type %d, size %d\n",
342 type, n);
781 int type; local
809 ** longer a country named Czechoslovakia but this type of problem
929 /* might have another type of interest */
994 GETSHORT(type, ap);
998 switch (type)
[all...]
H A Dudb.c47 int udb_type; /* type of entry */
53 /* type UE_REMOTE -- do remote call for lookup */
63 /* type UE_FORWARD -- forward message to remote */
71 /* type UE_FETCH -- lookup in local database */
205 ** Select action based on entry type.
208 ** explain the type of the data, and "user" should
542 /* unknown entry type */
639 ** Select action based on entry type.
1235 char *name, *type; local
1242 type
[all...]
H A Dutil.c379 /* check body type for legality */
2448 ** type -- type of process.
2450 ** other -- other information for this type.
2475 proc_list_add(pid, task, type, count, other, hostaddr)
2478 int type;
2536 ProcListVec[i].proc_type = type;
2608 int type = PROC_NONE; local
2615 type = ProcListVec[i].proc_type;
2625 if (type
[all...]
H A Dtls.c394 ** type -- type of variable
401 tls_ok_f(var, fn, type)
404 int type;
411 type == TLS_T_SRV ? "Server" :
412 (type == TLS_T_CLT ? "Client" : ""), fn);
452 ** type -- type of variable
459 # define TLS_OK_F(var, fn, req, st, type) if (ok) \
461 r = tls_ok_f(var, fn, type); \
[all...]
H A Dmap.c974 ** DNS_MAP_OPEN -- stub to check proper value for dns map type
1136 syserr("dns map %s: wrong type %s",
1153 ** used otherwise in this map type.
1168 syserr("dns map %s: missing -R type", map->map_mname);
1255 char *type = NULL; local
1261 type = "T_NS";
1265 type = "T_CNAME";
1269 type = "T_AFSDB";
1273 type = "T_SRV";
1277 type
4550 char *type; local
[all...]
H A Dconf.c137 { "content-type", H_CTYPE, NULL },
1398 /* do guesses based on general OS type */
3525 ** type -- type of the lock. Bits can be:
3536 lockfile(fd, filename, ext, type)
3540 int type;
3552 if (bitset(LOCK_UN, type))
3554 else if (bitset(LOCK_EX, type))
3559 if (bitset(LOCK_NB, type))
3565 sm_dprintf("lockfile(%s%s, action=%d, type
[all...]
H A Dqueue.c301 ** B body type
644 /* output body type */
896 ** Check if type has changed and only
906 sm_dprintf("type changed from %c to %c\n",
4201 case 'B': /* body type */
5013 case 'B': /* body type */
5140 ** type -- the file type, used as the first character
5148 queue_letter(e, type)
5150 int type;
[all...]
/sendmail/libsm/
H A Dfopen.c87 ** SM_IO_OPEN -- open a file of a specific type
90 ** type -- type of file to open
92 ** info -- info describing what is to be opened (type dependant)
98 ** Aborts if type is invalid.
100 ** - when the type specific open fails
103 ** Success returns a file pointer to the opened file type.
107 sm_io_open(type, timeout, info, flags, rpool)
108 const SM_FILE_T *type;
109 int SM_NONVOLATILE timeout; /* this is not the file type timeou
[all...]
H A Dldap.c522 sm_ldap_add_recurse(top, item, type, rpool)
525 int type;
574 ** Binary search/insert item:type into list.
591 rc = type - (*top)->lrl_data[p]->lr_type;
623 newe->lr_type = type;
752 int type; local
755 type = SM_LDAP_ATTR_NONE;
761 type = lmap->ldap_attr_type[i];
768 type == SM_LDAP_ATTR_NONE)
771 type
[all...]
H A Dvfprintf.c268 ** that the argument can be gotten once the type is determined.
303 # define GETARG(type) \
305 nextarg++, SM_VA_ARG(ap, type))
307 # define GETARG(type) \
308 ((argtable != NULL) ? (*((type*)(argtable[nextarg++]))) : \
309 (nextarg++, SM_VA_ARG(ap, type)))
791 /* Type ids for argument type table. */
839 int tablesize; /* current size of type table */
843 /* Add an argument type to the table, expanding if necessary. */
844 #define ADDTYPE(type) \
[all...]
/sendmail/contrib/
H A Dbitdomain.c218 int type; local
246 /* might have another type of interest */
288 GETSHORT(type, ap);
291 switch (type)
H A Dexpn.pl113 ($hostname,$aliases,$type,$len,$thisaddr) = gethostbyname($name);
166 ($name,$aliases,$type,$len,$thataddr) = gethostbyname($server);
991 local($name,$aliases,$type,$len,$thataddr);
1054 ($name,$aliases,$type,$len,$thataddr) = gethostbyname($nserver);

Completed in 61 milliseconds

12