File: askldap.h

package info (click to toggle)
ldap2dns 0.3.1-6
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 528 kB
  • sloc: ansic: 1,527; php: 781; perl: 206; sh: 84; makefile: 51
file content (10 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
/* Patch for tinydns to pass DNS-query to LDAP in favour of a cdb lookup.
 * $Id: askldap.h,v 1.8 2002/08/12 16:41:25 jrief Exp $
 * Copyright 2002 <jacob.rief@tiscover.com> 
 */ 

extern
int askldap_query(const char* djbdomainname, char qtype[2]);
	
extern
void askldap_init(const char* ldaphost, const char* basedn, const char* binddn, const char* passwd);