forked from wangyuehong/pggearman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpggearman.h
43 lines (37 loc) · 1.1 KB
/
pggearman.h
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
/*
* Gearman PostgreSQL Functions
* Copyright (C) 2009 Eric Day, Selena Deckelmann
*
* Use and distribution licensed under the BSD license. See
* the COPYING file in the parent directory for full text.
*/
#ifndef PGGEARMAN_H
#define PGGEARMAN_H
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
#include <libgearman/gearman.h>
#undef PACKAGE_BUGREPORT
#undef PACKAGE_NAME
#undef PACKAGE_STRING
#undef PACKAGE_TARNAME
#undef PACKAGE_VERSION
void _PG_init(void);
void _PG_fini(void);
Datum gman_servers_set(PG_FUNCTION_ARGS);
Datum gman_do(PG_FUNCTION_ARGS);
Datum gman_do_high(PG_FUNCTION_ARGS);
Datum gman_do_low(PG_FUNCTION_ARGS);
Datum gman_do_background(PG_FUNCTION_ARGS);
Datum gman_do_high_background(PG_FUNCTION_ARGS);
Datum gman_do_low_background(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1(gman_servers_set);
PG_FUNCTION_INFO_V1(gman_do);
PG_FUNCTION_INFO_V1(gman_do_high);
PG_FUNCTION_INFO_V1(gman_do_low);
PG_FUNCTION_INFO_V1(gman_do_background);
PG_FUNCTION_INFO_V1(gman_do_high_background);
PG_FUNCTION_INFO_V1(gman_do_low_background);
#endif