FreeBASIC  0.91.0
dev_com.c File Reference
#include "fb.h"
Include dependency graph for dev_com.c:

Go to the source code of this file.

Data Structures

struct  _DEV_COM_INFO
 

Typedefs

typedef struct _DEV_COM_INFO DEV_COM_INFO
 

Functions

static int fb_DevComClose (FB_FILE *handle)
 
static int fb_DevComWrite (FB_FILE *handle, const void *value, size_t valuelen)
 
static int fb_DevComWriteWstr (FB_FILE *handle, const FB_WCHAR *value, size_t valuelen)
 
static int fb_DevComRead (FB_FILE *handle, void *value, size_t *pValuelen)
 
static int fb_DevComReadWstr (FB_FILE *handle, FB_WCHAR *value, size_t *pValuelen)
 
static int fb_DevComTell (FB_FILE *handle, fb_off_t *pOffset)
 
static int fb_DevComEof (FB_FILE *handle)
 
int fb_DevComOpen (FB_FILE *handle, const char *filename, size_t filename_len)
 
int fb_DevSerialSetWidth (const char *pszDevice, int width, int default_width)
 

Variables

static FB_FILE_HOOKS hooks_dev_com
 

Typedef Documentation

typedef struct _DEV_COM_INFO DEV_COM_INFO

Function Documentation

static int fb_DevComClose ( FB_FILE handle)
static

Definition at line 12 of file dev_com.c.

Here is the call graph for this function:

static int fb_DevComEof ( FB_FILE handle)
static

Definition at line 89 of file dev_com.c.

Here is the call graph for this function:

int fb_DevComOpen ( FB_FILE handle,
const char *  filename,
size_t  filename_len 
)

Definition at line 126 of file dev_com.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int fb_DevComRead ( FB_FILE handle,
void *  value,
size_t *  pValuelen 
)
static

Definition at line 51 of file dev_com.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int fb_DevComReadWstr ( FB_FILE handle,
FB_WCHAR value,
size_t *  pValuelen 
)
static

Definition at line 66 of file dev_com.c.

Here is the call graph for this function:

static int fb_DevComTell ( FB_FILE handle,
fb_off_t pOffset 
)
static

Definition at line 72 of file dev_com.c.

Here is the call graph for this function:

static int fb_DevComWrite ( FB_FILE handle,
const void *  value,
size_t  valuelen 
)
static

Definition at line 31 of file dev_com.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static int fb_DevComWriteWstr ( FB_FILE handle,
const FB_WCHAR value,
size_t  valuelen 
)
static

Definition at line 46 of file dev_com.c.

Here is the call graph for this function:

int fb_DevSerialSetWidth ( const char *  pszDevice,
int  width,
int  default_width 
)

Definition at line 373 of file dev_com.c.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

FB_FILE_HOOKS hooks_dev_com
static