astosp.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
#ifndef _ASTERISK_OSP_H
00015
#define _ASTERISK_OSP_H
00016
#include <asterisk/channel.h>
00017
#include <netinet/in.h>
00018
#include <time.h>
00019
00020 struct ast_osp_result {
00021 int handle;
00022 int numresults;
00023 char tech[20];
00024 char dest[256];
00025 char token[4096];
00026 };
00027
00028
00029
00030
int ast_osp_lookup(
struct ast_channel *chan,
char *provider,
char *extension,
char *callerid,
struct ast_osp_result *result);
00031
00032
int ast_osp_next(
struct ast_osp_result *result,
int cause);
00033
00034
int ast_osp_terminate(
int handle,
int cause, time_t start, time_t duration);
00035
00036
int ast_osp_validate(
char *provider,
char *token,
int *handle,
unsigned int *timeout,
char *callerid,
struct in_addr addr,
char *extension);
00037
00038
#endif
Generated on Tue Aug 17 16:13:52 2004 for Asterisk by
1.3.8