1 /* sock.h - socket backend header file */
3 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
5 * Copyright 2007 The OpenLDAP Foundation.
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted only as authorized by the OpenLDAP
12 * A copy of this license is available in the file LICENSE in the
13 * top-level directory of the distribution or, alternatively, at
14 * <http://www.OpenLDAP.org/license.html>.
20 #include "proto-sock.h"
25 const char *si_sockpath;
29 #define SOCK_EXT_BINDDN 1
30 #define SOCK_EXT_PEERNAME 2
31 #define SOCK_EXT_SSF 4
33 extern FILE *opensock LDAP_P((
34 const char *sockpath));
36 extern void sock_print_suffixes LDAP_P((
40 extern void sock_print_conn LDAP_P((
43 struct sockinfo *si));
45 extern int sock_read_and_send_results LDAP_P((