2000-05-11 02:17:38 +08:00
|
|
|
/* add.c - DNS SRV backend add function */
|
|
|
|
/* $OpenLDAP$ */
|
|
|
|
/*
|
2000-05-22 02:15:00 +08:00
|
|
|
* Copyright 2000 The OpenLDAP Foundation, All Rights Reserved.
|
2000-05-11 02:17:38 +08:00
|
|
|
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "portable.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include <ac/string.h>
|
|
|
|
#include <ac/socket.h>
|
|
|
|
|
|
|
|
#include "slap.h"
|
|
|
|
#include "back-dnssrv.h"
|
|
|
|
|
|
|
|
int
|
|
|
|
dnssrv_back_add(
|
|
|
|
Backend *be,
|
|
|
|
Connection *conn,
|
|
|
|
Operation *op,
|
|
|
|
Entry *e
|
|
|
|
)
|
|
|
|
{
|
2000-05-11 04:11:58 +08:00
|
|
|
return dnssrv_back_request( be, conn, op, e->e_dn, e->e_ndn );
|
2000-05-11 02:17:38 +08:00
|
|
|
}
|