+__tevent_req_create: struct tevent_req *(TALLOC_CTX *, void *, size_t, const char *, const char *, const char *)
_tevent_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
_tevent_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
_tevent_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
const char *type,
const char *location);
+struct tevent_req *__tevent_req_create(TALLOC_CTX *mem_ctx,
+ void *pstate,
+ size_t state_size,
+ const char *type,
+ const char *func,
+ const char *location);
+
#define tevent_req_create(_mem_ctx, _pstate, _type) \
- _tevent_req_create((_mem_ctx), (_pstate), sizeof(_type), \
- #_type, __location__)
+ __tevent_req_create((_mem_ctx), \
+ (_pstate), \
+ sizeof(_type), \
+ #_type, \
+ __func__, \
+ __location__)
#endif
/**
size_t data_size,
const char *type,
const char *location)
+{
+ return __tevent_req_create(mem_ctx,
+ pdata,
+ data_size,
+ type,
+ NULL,
+ location);
+}
+
+struct tevent_req *__tevent_req_create(TALLOC_CTX *mem_ctx,
+ void *pdata,
+ size_t data_size,
+ const char *type,
+ const char *func,
+ const char *location)
{
struct tevent_req *req;
struct tevent_req *parent;
enabled= not bld.CONFIG_SET('USING_SYSTEM_TEVENT'),
includes='.',
abi_directory='ABI',
- abi_match='tevent_* _tevent_*',
+ abi_match='tevent_* _tevent_* __tevent_*',
vnum=VERSION,
public_headers=('' if private_library else 'tevent.h'),
public_headers_install=not private_library,