summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Joseph <gjoseph@digium.com>2016-07-23 07:51:48 -0600
committerGeorge Joseph <gjoseph@digium.com>2016-08-02 14:20:10 -0600
commitad3e65433c76b2c1ed81ba28641d202dd678fbfd (patch)
tree9db5136bc76969bc5c633290377e330899dfc148 /include
parent85f9642420da411c46d4d3f2f58f02e4ecb8ddcc (diff)
asterisk.c: Add auto generation and persistence of UUID
Upcoming features will require the generation and persistence of a UUID. Change-Id: I3ec0062427e133217db6ef496a4216f427c3b92d
Diffstat (limited to 'include')
-rw-r--r--include/asterisk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/asterisk.h b/include/asterisk.h
index 873ed5c34..c4cdfab9a 100644
--- a/include/asterisk.h
+++ b/include/asterisk.h
@@ -313,4 +313,11 @@ struct ast_sched_context;
#define __stringify_1(x) #x
#define __stringify(x) __stringify_1(x)
+/*!
+ * \brief Retrieve the PBX UUID
+ * \param pbx_uuid A buffer of at least AST_UUID_STR_LEN (36 + 1) size to receive the UUID
+ * \param length The buffer length
+ */
+int ast_pbx_uuid_get(char *pbx_uuid, int length);
+
#endif /* _ASTERISK_H */