1 /* $NetBSD: clnt_stream.h,v 1.1.1.1 2009/06/23 10:08:45 tron Exp $ */ 2 3 #ifndef _CLNT_STREAM_H_INCLUDED_ 4 #define _CLNT_STREAM_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* clnt_stream 3h 9 /* SUMMARY 10 /* client socket maintenance 11 /* SYNOPSIS 12 /* #include <clnt_stream.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * Utility library. 18 */ 19 #include <vstream.h> 20 21 /* 22 * External interface. 23 */ 24 typedef struct CLNT_STREAM CLNT_STREAM; 25 26 extern CLNT_STREAM *clnt_stream_create(const char *, const char *, int, int); 27 extern VSTREAM *clnt_stream_access(CLNT_STREAM *); 28 extern void clnt_stream_recover(CLNT_STREAM *); 29 extern void clnt_stream_free(CLNT_STREAM *); 30 31 /* LICENSE 32 /* .ad 33 /* .fi 34 /* The Secure Mailer license must be distributed with this software. 35 /* AUTHOR(S) 36 /* Wietse Venema 37 /* IBM T.J. Watson Research 38 /* P.O. Box 704 39 /* Yorktown Heights, NY 10598, USA 40 /*--*/ 41 42 #endif 43