/sendmail/sendmail/ |
H A D | udb.c | 135 DBT key; local 144 memset(&key, '\0', sizeof(key)); 184 /* build actual database key */ 216 key.data = keybuf; 217 key.size = keylen; 222 i = (*up->udb_dbp->seq)(up->udb_dbp, &key, &info, R_CURSOR); 235 (errno = dbc->c_get(dbc, &key, 255 (int) key.size, (char *) key 601 DBT key, info; local 842 char *key; local [all...] |
H A D | map.c | 99 ** char *map_lookup(MAP *map, char *key, char **args, int *pstat) 100 ** Look up the key in the given map. If found, do any 109 ** void map_store(MAP *map, char *key, char *value) 110 ** Store the key:value pair in the map. 300 ** MAP_REWRITE -- rewrite a database key, interpolating %n indications. 1672 datum key, val; local 1681 key.dptr = name; 1682 key.dsize = strlen(name); 1685 if (key.dsize > sizeof(keybuf) - 1) 1686 key 1769 datum key; local 2301 DBT key, val; local 2465 DBT key; local 7962 char *replybuf, *rval, *value, *status, *key; local [all...] |
H A D | parseaddr.c | 1511 syserr("554 5.3.0 rewrite: missing key for map %s", 1780 ** key -- the key to look up. 1788 ** NULL -- if there was no data for the given key. 1792 map_lookup(smap, key, argvect, pstat, e) 1794 char key[]; 1815 smap->s_name, key); 1821 stripquotes(key); 1826 xputs(sm_debug_file(), key); local 1836 replac = (*map->map_class->map_lookup)(map, key, argvec [all...] |
H A D | queue.c | 207 ** RSATmpCnt -- counter for number of uses of ephemeral RSA key. 4553 /* Check to make sure key fields were read */ 6659 "key=%ld, sm_semsetowner=%d, RunAsUid=%d, RunAsGid=%d", 6771 ** WRITE_KEY_FILE -- record some key into a file. 6775 ** key -- key to write. 6785 write_key_file(keypath, key) 6787 long key; 6823 ok = sm_io_fprintf(keyf, SM_TIME_DEFAULT, "%ld\n", key) != 6831 ** READ_KEY_FILE -- read a key fro [all...] |
H A D | readcf.c | 410 syserr("missing key name for lookup"); 553 /* check if [key]@map:spec */ 961 char *key; local 969 key = filename; 971 /* skip past key */ 1051 sm_dprintf("fileclass: F{%s}: map class %s, key %s, spec %s\n", 1052 mn, cl, key, spec); 1081 p = (*map.map_class->map_lookup)(&map, key, NULL, &status); 3237 case O_SHMKEY: /* shared memory key */ 3247 case O_SHMKEYFILE: /* shared memory key fil [all...] |
/sendmail/contrib/ |
H A D | socketmapServer.pl | 54 my ($mapName, $key) = split(' ', $request); 55 my $value = mapLookup($mapName, $key); 70 my $key = shift; 71 my $value = ($mapName eq "virtuser") ? $mapping{$key} : undef;
|
H A D | buildvirtuser | 109 my ($lhs, $domain, $key, $value); 159 $key = "$1\@$domain"; 164 $key = "\@$domain"; 174 $key =~ s/\$DOMAIN/$domain/g; 177 $virt{$key} = $value; 198 foreach $key (keys %virt) 200 print MAKEMAP "$key\t\t$virt{$key}\n";
|
H A D | socketmapClient.pl | 9 die "usage: $0 <connection> <mapname> <key> [<key2> ...]" if (@ARGV < 3); 33 while(my $key = shift @ARGV) { 34 my $request = "$mapname $key"; 39 print "$key => $response\n";
|
H A D | qtool.pl | 510 ## If a key has more than one entry, then it points to a list of 860 my $key = shift; 862 if (exists $self->{control_file}->{$key}) 864 return $self->{control_file}->{$key}; 866 if (exists $self->{data_file}->{$key}) 868 return $self->{data_file}->{$key};
|
/sendmail/libsmdb/ |
H A D | smdb1.c | 187 smdb1_del(database, key, flags) 189 SMDB_DBENT *key; 196 dbkey.data = key->data; 197 dbkey.size = key->size; 226 smdb1_get(database, key, data, flags) 228 SMDB_DBENT *key; 238 dbkey.data = key->data; 239 dbkey.size = key->size; 254 smdb1_put(database, key, data, flags) 256 SMDB_DBENT *key; [all...] |
H A D | smndbm.c | 108 smdbm_del(database, key, flags) 110 SMDB_DBENT *key; 118 dbkey.dptr = key->data; 119 dbkey.dsize = key->size; 162 smdbm_get(database, key, data, flags) 164 SMDB_DBENT *key; 173 dbkey.dptr = key->data; 174 dbkey.dsize = key->size; 196 smdbm_put(database, key, data, flags) 198 SMDB_DBENT *key; [all...] |
H A D | smdb2.c | 243 smdb2_del(database, key, flags) 245 SMDB_DBENT *key; 252 dbkey.data = key->data; 253 dbkey.size = key->size; 277 smdb2_get(database, key, data, flags) 279 SMDB_DBENT *key; 289 dbkey.data = key->data; 290 dbkey.size = key->size; 299 smdb2_put(database, key, data, flags) 301 SMDB_DBENT *key; [all...] |
/sendmail/libsm/ |
H A D | shm.c | 25 ** key -- key for shared memory. 40 sm_shmstart(key, size, shmflg, shmid, owner) 41 key_t key; 55 *shmid = shmget(key, size, shmflg);
|
H A D | sem.c | 25 ** key -- key for semaphores. 36 sm_sem_start(key, nsem, semflg, owner) 37 key_t key; 50 semid = semget(key, nsem, semflg);
|
H A D | ldap.c | 287 ** SM_LDAP_SEARCH_M -- initiate multi-key LDAP search 294 ** argv -- key vector of substitutions in LDAP filter 321 char *key; local 329 key = argv[0]; 332 key = argv[q[1] - '0']; 333 if (key == NULL) 338 key = ""; 343 key = NULL; 346 key = argv[0]; 351 "%.*s%s", (int) (q - p), p, key); [all...] |
/sendmail/vacation/ |
H A D | vacation.c | 828 SMDB_DBENT key, data; local 834 memset(&key, '\0', sizeof key); 838 key.data = VIT; 839 key.size = sizeof(VIT); 841 st = Db->smdb_get(Db, &key, &data, 0); 850 key.data = From; 851 key.size = strlen(From); 855 st = Db->smdb_get(Db, &key, &data, 0); 866 key 891 SMDB_DBENT key, data; local 923 SMDB_DBENT key, data; local [all...] |
/sendmail/include/libsmdb/ |
H A D | smdb.h | 63 ** DB_DEL_FUNC -- removes a key and data pair from the database 67 ** key -- The key to remove. 77 SMDB_DBENT *key, unsigned int flags)); 94 ** DB_GET_FUNC -- Gets the data associated with a key. 98 ** key -- The key to access. 109 SMDB_DBENT *key, 113 ** DB_PUT_FUNC -- Sets some data according to the key. 117 ** key [all...] |
/sendmail/include/sm/ |
H A D | sem.h | 17 /* key for semaphores */ 53 # define sm_sem_start(key, nsem, semflg, owner) 0
|