[svn-commits] russell: branch group/chan_unistim r88162 - /team/group/chan_unistim/channels/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Nov 1 16:48:43 CDT 2007
Author: russell
Date: Thu Nov 1 16:48:43 2007
New Revision: 88162
URL: http://svn.digium.com/view/asterisk?view=rev&rev=88162
Log:
remove a typedef
Modified:
team/group/chan_unistim/channels/chan_unistim.c
Modified: team/group/chan_unistim/channels/chan_unistim.c
URL: http://svn.digium.com/view/asterisk/team/group/chan_unistim/channels/chan_unistim.c?view=diff&rev=88162&r1=88161&r2=88162
==============================================================================
--- team/group/chan_unistim/channels/chan_unistim.c (original)
+++ team/group/chan_unistim/channels/chan_unistim.c Thu Nov 1 16:48:43 2007
@@ -335,10 +335,10 @@
{"--", 0, 0}
};
-typedef struct __WSABUF {
+struct wsabuf {
u_long len;
unsigned char *buf;
-} WSABUF, *LPWSABUF;
+};
typedef struct _SYSTEMTIME {
unsigned short w_year;
@@ -455,7 +455,7 @@
int size_buff_entry; /* size of the buffer used to enter datas */
char buff_entry[16]; /* Buffer for temporary datas */
char macaddr[18]; /* mac adress of the phone (not always available) */
- WSABUF wsabufsend[MAX_BUF_NUMBER]; /* Size of each paquet stored in the buffer array & pointer to this buffer */
+ struct wsabuf wsabufsend[MAX_BUF_NUMBER]; /* Size of each paquet stored in the buffer array & pointer to this buffer */
unsigned char buf[MAX_BUF_NUMBER][MAX_BUF_SIZE]; /* Buffer array used to keep the lastest non-acked paquets */
struct unistim_device *device;
struct unistimsession *next;
@@ -889,7 +889,7 @@
s->nb_retransmit = 0;
s->state = STATE_INIT;
s->tick_next_ping = GetTickCount() + unistim_keepalive;
- /* Initialize WSABUF */
+ /* Initialize struct wsabuf */
for (tmp = 0; tmp < MAX_BUF_NUMBER; tmp++) {
s->wsabufsend[tmp].buf = s->buf[tmp];
}
More information about the svn-commits
mailing list