xref: /netbsd-src/external/ibm-public/postfix/dist/src/global/memcache_proto.h (revision e89934bbf778a6d6d6894877c4da59d0c7835b0f)
1 /*	$NetBSD: memcache_proto.h,v 1.2 2017/02/14 01:16:45 christos Exp $	*/
2 
3 #ifndef _MEMCACHE_PROTO_H_INCLUDED_
4 #define _MEMCACHE_PROTO_H_INCLUDED_
5 
6 /*++
7 /* NAME
8 /*	memcache_proto 3h
9 /* SUMMARY
10 /*	memcache low-level protocol
11 /* SYNOPSIS
12 /*	#include <memcache_proto.h>
13 /* DESCRIPTION
14 /* .nf
15 
16  /*
17   * External interface.
18   */
19 extern int memcache_get(VSTREAM *, VSTRING *, ssize_t);
20 extern int memcache_vprintf(VSTREAM *, const char *, va_list);
21 extern int PRINTFLIKE(2, 3) memcache_printf(VSTREAM *, const char *fmt,...);
22 extern int memcache_fread(VSTREAM *, VSTRING *, ssize_t);
23 extern int memcache_fwrite(VSTREAM *, const char *, ssize_t);
24 
25 /* LICENSE
26 /* .ad
27 /* .fi
28 /*	The Secure Mailer license must be distributed with this software.
29 /*	AUTHOR(S)
30 /*	Wietse Venema
31 /*	IBM T.J. Watson Research
32 /*	P.O. Box 704
33 /*	Yorktown Heights, NY 10598, USA
34 /*--*/
35 
36 #endif
37