1 /*
2  * Copyright (c) 2017	Tatsuo Ishii
3  *
4  * Permission to use, copy, modify, and distribute this software and
5  * its documentation for any purpose and without fee is hereby
6  * granted, provided that the above copyright notice appear in all
7  * copies and that both that copyright notice and this permission
8  * notice appear in supporting documentation, and that the name of the
9  * author not be used in advertising or publicity pertaining to
10  * distribution of the software without specific, written prior
11  * permission. The author makes no representations about the
12  * suitability of this software for any purpose.  It is provided "as
13  * is" without express or implied warranty.
14  */
15 
16 #ifndef SEND_H
17 #define SEND_H
18 
19 extern void send_char(char c, PGconn *conn);
20 extern void send_int(int intval, PGconn *conn);
21 extern void send_int16(short shortval, PGconn *conn);
22 extern void send_string(char *buf, PGconn *conn);
23 extern void send_byte(char *buf, int len, PGconn *conn);
24 
25 #endif
26