asterisk.c: Add auto generation and persistence of UUID

Upcoming features will require the generation and persistence
of a UUID.

Change-Id: I3ec0062427e133217db6ef496a4216f427c3b92d
This commit is contained in:
George Joseph
2016-07-23 07:51:48 -06:00
parent 85f9642420
commit ad3e65433c
2 changed files with 35 additions and 11 deletions

View File

@@ -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 */