/* @} */
+#ifdef TEVENT_DEPRECATED
/**
* @defgroup tevent_wrapper_ops The tevent wrapper operation functions
* @ingroup tevent
* @return The wrapper event context, NULL on error.
*
* @note Available as of tevent 0.9.37
+ * @note Deprecated as of tevent 0.9.38
*/
struct tevent_context *tevent_context_wrapper_create(struct tevent_context *main_ev,
TALLOC_CTX *mem_ctx,
void *pstate,
size_t psize,
const char *type,
- const char *location);
+ const char *location) _DEPRECATED_;
#define tevent_context_wrapper_create(main_ev, mem_ctx, ops, state, type) \
_tevent_context_wrapper_create(main_ev, mem_ctx, ops, \
state, sizeof(type), #type, __location__)
* @see tevent_context_wrapper_create()
*
* @note Available as of tevent 0.9.37
+ * @note Deprecated as of tevent 0.9.38
*/
-bool tevent_context_is_wrapper(struct tevent_context *ev);
+bool tevent_context_is_wrapper(struct tevent_context *ev) _DEPRECATED_;
#ifdef DOXYGEN
/**
* @see tevent_context_pop_use
*
* @note Available as of tevent 0.9.37
+ * @note Deprecated as of tevent 0.9.38
*/
bool tevent_context_push_use(struct tevent_context *ev);
#else
bool _tevent_context_push_use(struct tevent_context *ev,
- const char *location);
+ const char *location) _DEPRECATED_;
#define tevent_context_push_use(ev) \
_tevent_context_push_use(ev, __location__)
#endif
* @see tevent_context_push_use
*
* @note Available as of tevent 0.9.37
+ * @note Deprecated as of tevent 0.9.38
*/
void tevent_context_pop_use(struct tevent_context *ev);
#else
void _tevent_context_pop_use(struct tevent_context *ev,
- const char *location);
+ const char *location) _DEPRECATED_;
#define tevent_context_pop_use(ev) \
_tevent_context_pop_use(ev, __location__)
#endif
* @see tevent_context_wrapper_create
*
* @note Available as of tevent 0.9.37
+ * @note Deprecated as of tevent 0.9.38
*/
bool tevent_context_same_loop(struct tevent_context *ev1,
- struct tevent_context *ev2);
+ struct tevent_context *ev2) _DEPRECATED_;
/* @} */
+#endif /* TEVENT_DEPRECATED */
/**
* @defgroup tevent_compat The tevent compatibility functions