Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
capifunc.c File Reference
#include "platform.h"
#include "os_capi.h"
#include "di_defs.h"
#include "capi20.h"
#include "divacapi.h"
#include "divasync.h"
#include "capifunc.h"
#include "debuglib.c"

Go to the source code of this file.

Macros

#define DBG_MINIMUM   (DL_LOG + DL_FTL + DL_ERR)
 
#define DBG_DEFAULT   (DBG_MINIMUM + DL_XLOG + DL_REG)
 

Functions

byte UnMapController (byte)
 
void AutomaticLaw (DIVA_CAPI_ADAPTER *)
 
void callback (ENTITY *)
 
word api_remove_start (void)
 
word CapiRelease (word)
 
word CapiRegister (word)
 
word api_put (APPL *, CAPI_MSG *)
 
void diva_os_set_controller_struct (struct capi_ctr *)
 
void DIVA_DIDD_Read (DESCRIPTOR *, int)
 
byte MapController (byte Controller)
 
voidTransmitBufferSet (APPL *appl, dword ref)
 
voidTransmitBufferGet (APPL *appl, void *p)
 
void TransmitBufferFree (APPL *appl, void *p)
 
voidReceiveBufferGet (APPL *appl, int Num)
 
void api_remove_complete (void)
 
void sendf (APPL *appl, word command, dword Id, word Number, byte *format,...)
 
int fax_head_line_time (char *buffer)
 
int __init init_capifunc (void)
 
void __exit finit_capifunc (void)
 

Variables

DIVA_CAPI_ADAPTERadapter = (DIVA_CAPI_ADAPTER *) NULL
 
APPLapplication = (APPL *) NULL
 
byte max_appl = MAX_APPL
 
byte max_adapter = 0
 
char DRIVERRELEASE_CAPI [32]
 

Macro Definition Documentation

#define DBG_DEFAULT   (DBG_MINIMUM + DL_XLOG + DL_REG)

Definition at line 23 of file capifunc.c.

#define DBG_MINIMUM   (DL_LOG + DL_FTL + DL_ERR)

Definition at line 22 of file capifunc.c.

Function Documentation

word api_put ( APPL appl,
CAPI_MSG msg 
)

Definition at line 386 of file message.c.

void api_remove_complete ( void  )

Definition at line 217 of file capifunc.c.

word api_remove_start ( void  )

Definition at line 681 of file message.c.

void AutomaticLaw ( DIVA_CAPI_ADAPTER a)

Definition at line 9313 of file message.c.

void callback ( ENTITY )
word CapiRegister ( word  id)

Definition at line 14852 of file message.c.

word CapiRelease ( word  Id)

Definition at line 9337 of file message.c.

void DIVA_DIDD_Read ( DESCRIPTOR ,
int   
)
void diva_os_set_controller_struct ( struct capi_ctr )

Definition at line 109 of file capimain.c.

int fax_head_line_time ( char buffer)

Definition at line 1115 of file capifunc.c.

void __exit finit_capifunc ( void  )

Definition at line 1212 of file capifunc.c.

int __init init_capifunc ( void  )

Definition at line 1184 of file capifunc.c.

byte MapController ( byte  Controller)

Definition at line 113 of file capifunc.c.

void* ReceiveBufferGet ( APPL appl,
int  Num 
)

Definition at line 209 of file capifunc.c.

void sendf ( APPL appl,
word  command,
dword  Id,
word  Number,
byte format,
  ... 
)

Definition at line 225 of file capifunc.c.

void TransmitBufferFree ( APPL appl,
void p 
)

Definition at line 203 of file capifunc.c.

void* TransmitBufferGet ( APPL appl,
void p 
)

Definition at line 195 of file capifunc.c.

void* TransmitBufferSet ( APPL appl,
dword  ref 
)

Definition at line 188 of file capifunc.c.

byte UnMapController ( byte  MappedController)

Definition at line 135 of file capifunc.c.

Variable Documentation

Definition at line 25 of file capifunc.c.

APPL* application = (APPL *) NULL

Definition at line 26 of file capifunc.c.

char DRIVERRELEASE_CAPI[32]

Definition at line 32 of file capifunc.c.

byte max_adapter = 0

Definition at line 28 of file capifunc.c.

byte max_appl = MAX_APPL

Definition at line 27 of file capifunc.c.