/usr/lib/xemacs-21.4.24/x86_64-linux-gnu/include/postgresql.h is in xemacs21-bin 21.4.24-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*
postgresql.h -- Emacs Lisp binding to libpq.so
Copyright (C) 2000 Electrotechnical Laboratory, JAPAN.
Licensed to the Free Software Foundation.
Author: SL Baur <steve@xemacs.org>
Maintainer: SL Baur <steve@xemacs.org>
Please send patches to this file to me first before submitting them to
xemacs-patches.
*/
#ifndef INCLUDED_postgresql_h_
#define INCLUDED_postgresql_h_ 1
#include LIBPQ_FE_H_FILE /* main PostgreSQL header file */
#define BLCKSZ 8192 /* size of a default Postgres disk block */
/*
This file contains the GCC bug workaround code for the private
LRECORD types.
*/
/* PGconn is an opaque object and we need to be able to store them in
Lisp code because libpq supports multiple connections.
*/
struct Lisp_PGconn
{
struct lcrecord_header header;
PGconn *pgconn;
};
typedef struct Lisp_PGconn Lisp_PGconn;
DECLARE_LRECORD (pgconn, Lisp_PGconn);
#define XPGCONN(x) XRECORD (x, pgconn, Lisp_PGconn)
#define XSETPGCONN(x, p) XSETRECORD (x, p, pgconn)
#define PGCONNP(x) RECORDP (x, pgconn)
#define CHECK_PGCONN(x) CHECK_RECORD (x, pgconn)
#define CONCHECK_PGCONN(x) CONCHECK_RECORD (x, pgconn)
/****/
/* PGresult is an opaque object and we need to be able to store them in
Lisp code.
*/
struct Lisp_PGresult
{
struct lcrecord_header header;
PGresult *pgresult;
};
typedef struct Lisp_PGresult Lisp_PGresult;
DECLARE_LRECORD (pgresult, Lisp_PGresult);
#define XPGRESULT(x) XRECORD (x, pgresult, Lisp_PGresult)
#define XSETPGRESULT(x, p) XSETRECORD (x, p, pgresult)
#define PGRESULTP(x) RECORDP (x, pgresult)
#define CHECK_PGRESULT(x) CHECK_RECORD (x, pgresult)
#define CONCHECK_PGRESULT(x) CONCHECK_RECORD (x, pgresult)
#endif /* INCLUDED_postgresql_h_ */
|