Main Page   Compound List   File List   Compound Members   File Members  

connect.c File Reference

#include "netfone.h"

Defines

#define ASYNC_OUTPUT
#define sb   mb.sbm
#define DCOL   11
#define showCrypto(m, s)   if ((m)) { if (cryptoModes[0] != 0) { strcat(cryptoModes, "+"); } strcat(cryptoModes, rstring(s)); }
#define kOverhead   25000

Functions

void gsmcomp (soundbuf *asb)
void adpcmcomp (soundbuf *asb)
void lpccomp (soundbuf *asb)
void lpc10comp (soundbuf *asb)
int lpc10stuff (struct soundbuf *asb, int pktlen)
void lpc10unstuff (struct soundbuf *asb)
void celpcomp (struct soundbuf *asb)
int celpstuff (struct soundbuf *asb, int pktlen)
void celpunstuff (struct soundbuf *asb)
void compress2X (soundbuf *asb)
void AES_cbc_encrypt (unsigned char *in, unsigned char *out, int len, aes_ctx *ctx)
auxSocketmonitorPort (unsigned short port)
int writeOutput (LPCLIENT_DATA d, LPSTR buf, int buflen)
void socketerrorbox (HWND hwnd, LPCLIENT_DATA d)
int sendpkt (HWND hwnd, LPCLIENT_DATA d, struct soundbuf *asb)
void changeAudioState (HWND hwnd, LPCLIENT_DATA pClientData)
void shipSoundBuffer (HWND hwnd, LPCLIENT_DATA pClientData)
void sendSessionCtrl (LPCLIENT_DATA pClientData, char *msg, int msgl)
void createSoundBuffer (LPSTR buffer, WORD buflen, DWORD channels, DWORD rate, DWORD bytesec, WORD align)
HWND createNewConnection (LPCLIENT_DATA pClientData)
void connFetchFace (HWND hwndClient, LPCLIENT_DATA pClientData)
VOID startSoundFile (HWND hwnd, LPSTR pszFile)
VOID fileDropped (HWND hwnd, HDROP hdrop)
LPSTR stateToString (CLIENT_STATE state)
LRESULT CALLBACK connectWndProc (HWND hwnd, UINT nMessage, WPARAM wParam, LPARAM lParam)

Variables

struct {
   char   header [4]
   unsigned short   len
   unsigned short   ilen
   soundbuf   sbm
mb
soundbuf ebuf
LONG pktlen
adpcm_state adpcm
int squelched = FALSE
int sqpacket = FALSE
char ourSendingHost [16]
int xseq = 0
char blankit []

Define Documentation

#define ASYNC_OUTPUT
 

#define DCOL   11
 

#define kOverhead   25000
 

#define sb   mb.sbm
 

#define showCrypto m,
     if ((m)) { if (cryptoModes[0] != 0) { strcat(cryptoModes, "+"); } strcat(cryptoModes, rstring(s)); }
 


Function Documentation

void adpcmcomp soundbuf   asb [static]
 

void AES_cbc_encrypt unsigned char *    in,
unsigned char *    out,
int    len,
aes_ctx *    ctx
 

void celpcomp struct soundbuf   asb [static]
 

int celpstuff struct soundbuf   asb,
int    pktlen
[static]
 

void celpunstuff struct soundbuf   asb [static]
 

void changeAudioState HWND    hwnd,
LPCLIENT_DATA    pClientData
[static]
 

void compress2X soundbuf   asb
 

LRESULT CALLBACK connectWndProc HWND    hwnd,
UINT    nMessage,
WPARAM    wParam,
LPARAM    lParam
 

void connFetchFace HWND    hwndClient,
LPCLIENT_DATA    pClientData
 

HWND createNewConnection LPCLIENT_DATA    pClientData
 

void createSoundBuffer LPSTR    buffer,
WORD    buflen,
DWORD    channels,
DWORD    rate,
DWORD    bytesec,
WORD    align
 

VOID fileDropped HWND    hwnd,
HDROP    hdrop
[static]
 

void gsmcomp soundbuf   asb [static]
 

void lpc10comp soundbuf   asb [static]
 

int lpc10stuff struct soundbuf   asb,
int    pktlen
[static]
 

void lpc10unstuff struct soundbuf   asb [static]
 

void lpccomp soundbuf   asb [static]
 

struct auxSocket* monitorPort unsigned short    port [static]
 

int sendpkt HWND    hwnd,
LPCLIENT_DATA    d,
struct soundbuf   asb
[static]
 

void sendSessionCtrl LPCLIENT_DATA    pClientData,
char *    msg,
int    msgl
[static]
 

void shipSoundBuffer HWND    hwnd,
LPCLIENT_DATA    pClientData
 

void socketerrorbox HWND    hwnd,
LPCLIENT_DATA    d
[static]
 

VOID startSoundFile HWND    hwnd,
LPSTR    pszFile
 

LPSTR stateToString CLIENT_STATE    state [static]
 

int writeOutput LPCLIENT_DATA    d,
LPSTR    buf,
int    buflen
[static]
 


Variable Documentation

struct adpcm_state adpcm [static]
 

char blankit[]
 

Initial value:

 "                                                              "
                                 "                                                              "
                                 "                                                              "

soundbuf ebuf
 

char header[4]
 

unsigned short ilen
 

unsigned short len
 

struct { ... } mb [static]
 

char ourSendingHost[16] [static]
 

LONG pktlen [static]
 

soundbuf sbm
 

int sqpacket = FALSE [static]
 

int squelched = FALSE [static]
 

int xseq = 0 [static]
 


Generated on Tue Feb 10 08:26:36 2004 for Speak-FreelyforWindows by doxygen1.2.18