acl/lib_tls/attr/auto_clnt.h
2014-11-19 00:25:21 +08:00

48 lines
957 B
C

#ifndef _AUTO_CLNT_H_INCLUDED_
#define _AUTO_CLNT_H_INCLUDED_
/*++
* NAME
* auto_clnt 3h
* SUMMARY
* client endpoint maintenance
* SYNOPSIS
* #include <auto_clnt.h>
* DESCRIPTION
* .nf
*
* Utility library.
*/
#include "lib_acl.h"
#ifdef ACL_SUNOS5
#define LOCAL_CONNECT acl_stream_connect
#else
#define LOCAL_CONNECT acl_unix_connect
#endif
/*
* External interface.
*/
typedef struct AUTO_CLNT AUTO_CLNT;
extern AUTO_CLNT *auto_clnt_create(ACL_EVENT *, const char *, int, int, int);
extern ACL_VSTREAM *auto_clnt_access(AUTO_CLNT *);
extern void auto_clnt_recover(AUTO_CLNT *);
extern const char *auto_clnt_name(AUTO_CLNT *);
extern void auto_clnt_free(AUTO_CLNT *);
/* LICENSE
* .ad
* .fi
* The Secure Mailer license must be distributed with this software.
* AUTHOR(S)
* Wietse Venema
* IBM T.J. Watson Research
* P.O. Box 704
* Yorktown Heights, NY 10598, USA
*--*/
#endif