diff options
author | Mark Spencer <markster@digium.com> | 2004-06-25 05:52:55 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-06-25 05:52:55 +0000 |
commit | 80c9620612aa5db499f38c68d7a6b10d876338a6 (patch) | |
tree | 6c1292d10168096e90fd3533b1abef631b86725c /include | |
parent | 2f421a55da9b9e2f19bb1d02237f2d7d6846df5b (diff) |
Add sample config file, implement verification
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rwxr-xr-x | include/asterisk/astosp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asterisk/astosp.h b/include/asterisk/astosp.h index 92eeab82f..4a5b59c2e 100755 --- a/include/asterisk/astosp.h +++ b/include/asterisk/astosp.h @@ -14,6 +14,7 @@ #ifndef _ASTERISK_OSP_H #define _ASTERISK_OSP_H #include <asterisk/channel.h> +#include <netinet/in.h> #include <time.h> struct ast_osp_result { @@ -32,4 +33,6 @@ int ast_osp_next(struct ast_osp_result *result, int cause); int ast_osp_terminate(int handle, int cause, time_t start, time_t duration); +int ast_osp_validate(char *provider, char *token, int *handle, unsigned int *timeout, char *callerid, struct in_addr addr, char *extension); + #endif |