| 1 |
/* config.c - DNS SRV backend configuration file routine */ |
| 2 |
/* $OpenLDAP$ */ |
| 3 |
/* This work is part of OpenLDAP Software <http://www.openldap.org/>. |
| 4 |
* |
| 5 |
* Copyright 2000-2024 The OpenLDAP Foundation. |
| 6 |
* Portions Copyright 2000-2003 Kurt D. Zeilenga. |
| 7 |
* All rights reserved. |
| 8 |
* |
| 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. |
| 12 |
* |
| 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>. |
| 16 |
*/ |
| 17 |
/* ACKNOWLEDGEMENTS: |
| 18 |
* This work was originally developed by Kurt D. Zeilenga for inclusion |
| 19 |
* in OpenLDAP Software. |
| 20 |
*/ |
| 21 |
|
| 22 |
#include "portable.h" |
| 23 |
|
| 24 |
#include <stdio.h> |
| 25 |
|
| 26 |
#include <ac/string.h> |
| 27 |
#include <ac/socket.h> |
| 28 |
|
| 29 |
#include "slap.h" |
| 30 |
#include "proto-dnssrv.h" |
| 31 |
|
| 32 |
#if 0 |
| 33 |
int |
| 34 |
dnssrv_back_db_config( |
| 35 |
BackendDB *be, |
| 36 |
const char *fname, |
| 37 |
int lineno, |
| 38 |
int argc, |
| 39 |
char **argv ) |
| 40 |
{ |
| 41 |
#if 0 |
| 42 |
struct ldapinfo *li = (struct ldapinfo *) be->be_private; |
| 43 |
|
| 44 |
if ( li == NULL ) { |
| 45 |
fprintf( stderr, "%s: line %d: DNSSRV backend info is null!\n", |
| 46 |
fname, lineno ); |
| 47 |
return( 1 ); |
| 48 |
} |
| 49 |
#endif |
| 50 |
|
| 51 |
/* no configuration options (yet) */ |
| 52 |
return SLAP_CONF_UNKNOWN; |
| 53 |
} |
| 54 |
#endif |