1 /* $NetBSD: config.c,v 1.1.1.4 2014/05/28 09:58:49 tron 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-2014 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 "portable.h" 25 26 #include <stdio.h> 27 28 #include <ac/string.h> 29 #include <ac/socket.h> 30 31 #include "slap.h" 32 #include "proto-dnssrv.h" 33 34 #if 0 35 int 36 dnssrv_back_db_config( 37 BackendDB *be, 38 const char *fname, 39 int lineno, 40 int argc, 41 char **argv ) 42 { 43 #if 0 44 struct ldapinfo *li = (struct ldapinfo *) be->be_private; 45 46 if ( li == NULL ) { 47 fprintf( stderr, "%s: line %d: DNSSRV backend info is null!\n", 48 fname, lineno ); 49 return( 1 ); 50 } 51 #endif 52 53 /* no configuration options (yet) */ 54 return SLAP_CONF_UNKNOWN; 55 } 56 #endif 57