Sync usage with man page.
[netbsd-mini2440.git] / external / bsd / openldap / dist / servers / slapd / back-dnssrv / config.c
blob68cc5dcd063a6dd3ece9074bac0a6d1441f071fc
1 /* config.c - DNS SRV backend configuration file routine */
2 /* $OpenLDAP: pkg/ldap/servers/slapd/back-dnssrv/config.c,v 1.16.2.3 2008/02/11 23:26:46 kurt Exp $ */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 2000-2008 The OpenLDAP Foundation.
6 * Portions Copyright 2000-2003 Kurt D. Zeilenga.
7 * All rights reserved.
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted only as authorized by the OpenLDAP
11 * Public License.
13 * A copy of this license is available in the file LICENSE in the
14 * top-level directory of the distribution or, alternatively, at
15 * <http://www.OpenLDAP.org/license.html>.
17 /* ACKNOWLEDGEMENTS:
18 * This work was originally developed by Kurt D. Zeilenga for inclusion
19 * in OpenLDAP Software.
22 #include "portable.h"
24 #include <stdio.h>
26 #include <ac/string.h>
27 #include <ac/socket.h>
29 #include "slap.h"
30 #include "proto-dnssrv.h"
32 int
33 dnssrv_back_db_config(
34 BackendDB *be,
35 const char *fname,
36 int lineno,
37 int argc,
38 char **argv )
40 #if 0
41 struct ldapinfo *li = (struct ldapinfo *) be->be_private;
43 if ( li == NULL ) {
44 fprintf( stderr, "%s: line %d: DNSSRV backend info is null!\n",
45 fname, lineno );
46 return( 1 );
48 #endif
50 /* no configuration options (yet) */
51 return SLAP_CONF_UNKNOWN;