xref: /netbsd-src/external/bsd/openldap/dist/servers/slapd/back-dnssrv/config.c (revision 549b59ed3ccf0d36d3097190a0db27b770f3a839)
1 /*	$NetBSD: config.c,v 1.3 2021/08/14 16:14:59 christos Exp $	*/
2 
3 /* config.c - DNS SRV backend configuration file routine */
4 /* $OpenLDAP$ */
5 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
6  *
7  * Copyright 2000-2021 The OpenLDAP Foundation.
8  * Portions Copyright 2000-2003 Kurt D. Zeilenga.
9  * All rights reserved.
10  *
11  * Redistribution and use in source and binary forms, with or without
12  * modification, are permitted only as authorized by the OpenLDAP
13  * Public License.
14  *
15  * A copy of this license is available in the file LICENSE in the
16  * top-level directory of the distribution or, alternatively, at
17  * <http://www.OpenLDAP.org/license.html>.
18  */
19 /* ACKNOWLEDGEMENTS:
20  * This work was originally developed by Kurt D. Zeilenga for inclusion
21  * in OpenLDAP Software.
22  */
23 
24 #include <sys/cdefs.h>
25 __RCSID("$NetBSD: config.c,v 1.3 2021/08/14 16:14:59 christos Exp $");
26 
27 #include "portable.h"
28 
29 #include <stdio.h>
30 
31 #include <ac/string.h>
32 #include <ac/socket.h>
33 
34 #include "slap.h"
35 #include "proto-dnssrv.h"
36 
37 #if 0
38 int
39 dnssrv_back_db_config(
40     BackendDB	*be,
41     const char	*fname,
42     int		lineno,
43     int		argc,
44     char	**argv )
45 {
46 #if 0
47 	struct ldapinfo	*li = (struct ldapinfo *) be->be_private;
48 
49 	if ( li == NULL ) {
50 		fprintf( stderr, "%s: line %d: DNSSRV backend info is null!\n",
51 		    fname, lineno );
52 		return( 1 );
53 	}
54 #endif
55 
56 	/* no configuration options (yet) */
57 	return SLAP_CONF_UNKNOWN;
58 }
59 #endif
60