summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-connect.h
blob: 53c9d8e2881d56249762461ca4358d04a8dc34ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*-------------------------------------------------------------------------
 *
 * fe-connect.h
 *
 *	  Definitions related to setting up a connection to the backend
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: fe-connect.h,v 1.7 1998/01/29 03:24:36 scrappy Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef FE_CONNECT_H
#define		   FE_CONNECT_H

#include <sys/types.h>

#include "libpq-fe.h"


/*----------------------------------------------------------------
 * Common routines and definitions
 *----------------------------------------------------------------
 */

int packetSend(PGconn *conn, const char *buf, size_t len);

#endif							/* FE_CONNECT_H */