|
1 | 1 | #pragma once |
2 | | -#include "php.h" |
3 | | -#undef slprintf |
4 | | -#undef vslprintf |
5 | | -#undef snprintf |
6 | | -#undef vsnprintf |
7 | | -#undef vasprintf |
8 | | -#undef asprintf |
9 | 2 | #include <cstdint> |
10 | 3 | #include <ctime> |
11 | 4 | #include <vector> |
12 | 5 | #include <gromox/zcore_rpc.hpp> |
13 | 6 |
|
14 | 7 | struct zcreq; |
15 | 8 | struct zcresp; |
16 | | -extern zend_bool zclient_do_rpc(const zcreq *, zcresp *); |
| 9 | +extern bool zclient_do_rpc(const zcreq *, zcresp *); |
17 | 10 | extern ec_error_t zclient_setpropval(GUID ses, uint32_t obj, gromox::proptag_t, const void *); |
18 | 11 | extern ec_error_t zclient_getpropval(GUID ses, uint32_t obj, gromox::proptag_t, void **); |
19 | 12 |
|
@@ -78,9 +71,9 @@ ZCIDL(copyto, (GUID hsession, uint32_t hsrcobject, const PROPTAG_ARRAY *pexclude |
78 | 71 | ZCIDL(savechanges, (GUID hsession, uint32_t hobject)) |
79 | 72 | ZCIDL(hierarchysync, (GUID hsession, uint32_t hfolder, IDLOUT uint32_t *hobject)) |
80 | 73 | ZCIDL(contentsync, (GUID hsession, uint32_t hfolder, IDLOUT uint32_t *hobject)) |
81 | | -ZCIDL(configsync, (GUID hsession, uint32_t hctx, uint32_t flags, const BINARY *pstate, const RESTRICTION *prestriction, IDLOUT zend_bool *b_changed, uint32_t *count)) |
| 74 | +ZCIDL(configsync, (GUID hsession, uint32_t hctx, uint32_t flags, const BINARY *pstate, const RESTRICTION *prestriction, IDLOUT uint8_t *b_changed, uint32_t *count)) |
82 | 75 | ZCIDL(statesync, (GUID hsession, uint32_t hctx, IDLOUT BINARY *state)) |
83 | | -ZCIDL(syncmessagechange, (GUID hsession, uint32_t hctx, IDLOUT zend_bool *b_new, TPROPVAL_ARRAY *proplist)) |
| 76 | +ZCIDL(syncmessagechange, (GUID hsession, uint32_t hctx, IDLOUT uint8_t *b_new, TPROPVAL_ARRAY *proplist)) |
84 | 77 | ZCIDL(syncfolderchange, (GUID hsession, uint32_t hctx, IDLOUT TPROPVAL_ARRAY *proplist)) |
85 | 78 | ZCIDL(syncreadstatechanges, (GUID hsession, uint32_t hctx, IDLOUT STATE_ARRAY *states)) |
86 | 79 | ZCIDL(syncdeletions, (GUID hsession, uint32_t hctx, uint32_t flags, IDLOUT BINARY_ARRAY *bins)) |
|
0 commit comments