Back to index

openldap  2.4.31
config.c
Go to the documentation of this file.
00001 /* config.c - DNS SRV backend configuration file routine */
00002 /* $OpenLDAP$ */
00003 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
00004  *
00005  * Copyright 2000-2012 The OpenLDAP Foundation.
00006  * Portions Copyright 2000-2003 Kurt D. Zeilenga.
00007  * All rights reserved.
00008  *
00009  * Redistribution and use in source and binary forms, with or without
00010  * modification, are permitted only as authorized by the OpenLDAP
00011  * Public License.
00012  *
00013  * A copy of this license is available in the file LICENSE in the
00014  * top-level directory of the distribution or, alternatively, at
00015  * <http://www.OpenLDAP.org/license.html>.
00016  */
00017 /* ACKNOWLEDGEMENTS:
00018  * This work was originally developed by Kurt D. Zeilenga for inclusion
00019  * in OpenLDAP Software.
00020  */
00021 
00022 #include "portable.h"
00023 
00024 #include <stdio.h>
00025 
00026 #include <ac/string.h>
00027 #include <ac/socket.h>
00028 
00029 #include "slap.h"
00030 #include "proto-dnssrv.h"
00031 
00032 #if 0
00033 int
00034 dnssrv_back_db_config(
00035     BackendDB *be,
00036     const char       *fname,
00037     int              lineno,
00038     int              argc,
00039     char      **argv )
00040 {
00041 #if 0
00042        struct ldapinfo      *li = (struct ldapinfo *) be->be_private;
00043 
00044        if ( li == NULL ) {
00045               fprintf( stderr, "%s: line %d: DNSSRV backend info is null!\n",
00046                   fname, lineno );
00047               return( 1 );
00048        }
00049 #endif
00050 
00051        /* no configuration options (yet) */
00052        return SLAP_CONF_UNKNOWN;
00053 }
00054 #endif