]> git.sur5r.net Git - openldap/blob - servers/slapd/back-dnssrv/config.c
Merge latest devel codes into releng 2 branch.
[openldap] / servers / slapd / back-dnssrv / config.c
1 /* config.c - DNS SRV backend configuration file routine */
2 /* $OpenLDAP$ */
3 /*
4  * Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
5  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
6  */
7
8 #include "portable.h"
9
10 #include <stdio.h>
11
12 #include <ac/string.h>
13 #include <ac/socket.h>
14
15 #include "slap.h"
16 #include "back-dnssrv.h"
17
18 int
19 dnssrv_back_db_config(
20     BackendDB   *be,
21     const char  *fname,
22     int         lineno,
23     int         argc,
24     char        **argv
25 )
26 {
27         struct ldapinfo *li = (struct ldapinfo *) be->be_private;
28         char *port;
29
30         if ( li == NULL ) {
31                 fprintf( stderr, "%s: line %d: DNSSRV backend info is null!\n",
32                     fname, lineno );
33                 return( 1 );
34         }
35
36         /* no configuration options (yet) */
37         {
38                 fprintf( stderr,
39 "%s: line %d: unknown directive \"%s\" in DNSSRV database definition (ignored)\n",
40                     fname, lineno, argv[0] );
41         }
42         return 0;
43 }