FreeBASIC  0.91.0
io_widthdev.c File Reference
#include "fb.h"
#include <ctype.h>
Include dependency graph for io_widthdev.c:

Go to the source code of this file.

Data Structures

struct  _DEV_INFO_WIDTH
 

Typedefs

typedef struct _DEV_INFO_WIDTH DEV_INFO_WIDTH
 

Functions

static void fb_hListDevInit (FB_LIST *list)
 Initialize the list of device info nodes. More...
 
static DEV_INFO_WIDTHfb_hListDevElemAlloc (FB_LIST *list, const char *device, int width)
 Allocate a new device info node. More...
 
FBCALL int fb_WidthDev (FBSTRING *dev, int width)
 

Variables

static FB_LISTdev_info_widths = NULL
 Pointer to the device info list. More...
 

Typedef Documentation

Function Documentation

static DEV_INFO_WIDTH* fb_hListDevElemAlloc ( FB_LIST list,
const char *  device,
int  width 
)
static

Allocate a new device info node.

Returns
pointer to the new node

Definition at line 23 of file io_widthdev.c.

Here is the call graph for this function:

Here is the caller graph for this function:

static void fb_hListDevInit ( FB_LIST list)
static

Initialize the list of device info nodes.

Definition at line 14 of file io_widthdev.c.

Here is the call graph for this function:

Here is the caller graph for this function:

FBCALL int fb_WidthDev ( FBSTRING dev,
int  width 
)

Definition at line 48 of file io_widthdev.c.

Here is the call graph for this function:

Variable Documentation

FB_LIST* dev_info_widths = NULL
static

Pointer to the device info list.

Definition at line 45 of file io_widthdev.c.