summaryrefslogtreecommitdiff
path: root/pjlib/include/pj/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'pjlib/include/pj/types.h')
-rw-r--r--pjlib/include/pj/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjlib/include/pj/types.h b/pjlib/include/pj/types.h
index e9095524..4ea5b79b 100644
--- a/pjlib/include/pj/types.h
+++ b/pjlib/include/pj/types.h
@@ -302,7 +302,11 @@ PJ_DECL(pj_status_t) pj_init(void);
*/
PJ_DECL(void) pj_shutdown(void);
+/**
+ * Type of callback to register to pj_atexit().
+ */
typedef void (*pj_exit_callback)(void);
+
/**
* Register cleanup function to be called by PJLIB when pj_shutdown() is
* called.