lobj.h

来自「postgresql-odbc,跨平台应用」· C头文件 代码 · 共 48 行

H
48
字号
/* File:			lobj.h * * Description:		See "lobj.c" * * Comments:		See "notice.txt" for copyright and license information. * */#ifndef __LOBJ_H__#define __LOBJ_H__#include "psqlodbc.h"struct lo_arg{	int			isint;	int			len;	union	{		int			integer;		char	   *ptr;	}			u;};#define LO_CREAT					957#define LO_OPEN						952#define LO_CLOSE					953#define LO_READ						954#define LO_WRITE					955#define LO_LSEEK					956#define LO_TELL						958#define LO_UNLINK					964#define INV_WRITE					0x00020000#define INV_READ					0x00040000OID		odbc_lo_creat(ConnectionClass *conn, int mode);int		odbc_lo_open(ConnectionClass *conn, int lobjId, int mode);int		odbc_lo_close(ConnectionClass *conn, int fd);Int4		odbc_lo_read(ConnectionClass *conn, int fd, char *buf, Int4 len);Int4		odbc_lo_write(ConnectionClass *conn, int fd, char *buf, Int4 len);Int4		odbc_lo_lseek(ConnectionClass *conn, int fd, int offset, Int4 len);Int4		odbc_lo_tell(ConnectionClass *conn, int fd);int		odbc_lo_unlink(ConnectionClass *conn, OID lobjId);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?