From ad3e65433c76b2c1ed81ba28641d202dd678fbfd Mon Sep 17 00:00:00 2001 From: George Joseph Date: Sat, 23 Jul 2016 07:51:48 -0600 Subject: asterisk.c: Add auto generation and persistence of UUID Upcoming features will require the generation and persistence of a UUID. Change-Id: I3ec0062427e133217db6ef496a4216f427c3b92d --- include/asterisk.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3