Commit aa02fb24 authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews

iax2: explicitly define the structure to avoid linkage problems

Change-Id: I3da8382983361672e98779cbb447e8a3ffef0a12
parent f66896b6
......@@ -12,6 +12,7 @@
*/
#include <sys/socket.h>
#include <netinet/in.h>
#ifndef _ASTERISK_IAX_CLIENT_H
#define _ASTERISK_IAX_CLIENT_H
......@@ -163,8 +164,6 @@ extern int iax_auth_reply(struct iax_session *session, char *password,
/* Free an event */
extern void iax_event_free(struct iax_event *event);
struct sockaddr_in;
/* Front ends for sending events */
extern int iax_send_dtmf(struct iax_session *session, char digit);
extern int iax_send_voice(struct iax_session *session, int format, unsigned char *data, int datalen, int samples);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment