X-Git-Url: https://vcs.fsf.org/?p=exim.git;a=blobdiff_plain;f=src%2Fsrc%2Flookups%2Fnis.c;h=7b8e80fe37adc29a32231f191bead5504f4ccbe9;hp=6b7e7a067616c1fe83af0c0f6b94f51cb5030ee7;hb=9f4001740f061f29c65835c6f7efcab50c27db13;hpb=9ad27f49dae5a6375d7951679c90c2e26ad82b5c diff --git a/src/src/lookups/nis.c b/src/src/lookups/nis.c index 6b7e7a067..7b8e80fe3 100644 --- a/src/src/lookups/nis.c +++ b/src/src/lookups/nis.c @@ -106,27 +106,27 @@ fprintf(f, "Library version: NIS: Exim version %s\n", EXIM_VERSION_STR); static lookup_info nis_lookup_info = { - US"nis", /* lookup name */ - 0, /* not abs file, not query style*/ - nis_open, /* open function */ - NULL, /* check function */ - nis_find, /* find function */ - NULL, /* no close function */ - NULL, /* no tidy function */ - NULL, /* no quoting function */ - nis_version_report /* version reporting */ + .name = US"nis", /* lookup name */ + .type = 0, /* not abs file, not query style*/ + .open = nis_open, /* open function */ + .check = NULL, /* check function */ + .find = nis_find, /* find function */ + .close = NULL, /* no close function */ + .tidy = NULL, /* no tidy function */ + .quote = NULL, /* no quoting function */ + .version_report = nis_version_report /* version reporting */ }; static lookup_info nis0_lookup_info = { - US"nis0", /* lookup name */ - 0, /* not absfile, not query style */ - nis_open, /* sic */ /* open function */ - NULL, /* check function */ - nis0_find, /* find function */ - NULL, /* no close function */ - NULL, /* no tidy function */ - NULL, /* no quoting function */ - NULL /* no version reporting (redundant) */ + .name = US"nis0", /* lookup name */ + .type = 0, /* not absfile, not query style */ + .open = nis_open, /* sic */ /* open function */ + .check = NULL, /* check function */ + .find = nis0_find, /* find function */ + .close = NULL, /* no close function */ + .tidy = NULL, /* no tidy function */ + .quote = NULL, /* no quoting function */ + .version_report = NULL /* no version reporting (redundant) */ }; #ifdef DYNLOOKUP