Lines Matching defs:table

49 	struct table		*table;
208 table = table_find(env, tablename);
213 if (table == NULL) {
214 log_warn("warn: source address table %s missing",
219 ret = table_fetch(table, K_SOURCE, &lk);
258 table = table_find(env, tablename);
263 if (table == NULL) {
264 log_warn("warn: smarthost table %s missing", tablename);
269 ret = table_fetch(table, K_RELAYHOST, &lk);
271 ret = table_lookup(table, K_RELAYHOST, domain, &lk);
332 table = table_find(env, imsg->data);
333 if (table == NULL) {
334 log_warnx("warn: Lookup table not found: "
337 ret = table_update(table);
722 struct table *table;
727 table = table_find(env, tablename);
728 if (table == NULL) {
729 log_warnx("warn: could not find table %s needed for authentication",
734 /* table backend supports authentication offloading */
735 if (table_check_service(table, K_AUTH)) {
742 switch (table_match(table, K_AUTH, offloadkey)) {
754 switch (table_lookup(table, K_CREDENTIALS, user, &lk)) {
771 struct table *table;
776 table = table_find(env, tablename);
777 if (table == NULL) {
778 log_warnx("warn: credentials table %s missing", tablename);
784 switch (table_lookup(table, K_CREDENTIALS, label, &lk)) {
815 struct table *table;
819 table = table_find(env, tablename);
820 if (table == NULL) {
821 log_warnx("warn: cannot find user table %s", tablename);
825 switch (table_lookup(table, K_USERINFO, username, &lk)) {
842 struct table *table;
849 table = table_find(env, tablename);
850 if (table == NULL) {
851 log_warnx("warn: cannot find helo table %s", tablename);
855 switch (table_lookup(table, K_ADDRNAME, source, &lk)) {
871 struct table *table;
877 table = table_find(env, tablename);
878 if (table == NULL) {
879 log_warnx("warn: cannot find mailaddrmap table %s", tablename);
883 switch (table_lookup(table, K_MAILADDRMAP, username, &lk)) {