aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/astosp.h
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-25 05:52:55 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-06-25 05:52:55 +0000
commit2880b1df66d522a3074402f1e0915c28a3dbada7 (patch)
tree6c1292d10168096e90fd3533b1abef631b86725c /include/asterisk/astosp.h
parent6c4cb5454fdb3be753f731b1ec136bf1907fea90 (diff)
Add sample config file, implement verification
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3300 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/astosp.h')
-rwxr-xr-xinclude/asterisk/astosp.h3
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