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

Go to the source code of this file.

Functions

int fb_DevLptParseProtocol (DEV_LPT_PROTOCOL **lpt_proto_out, const char *proto_raw, size_t proto_raw_len, int subst_prn)
 Tests for the right file name for LPT access. More...
 
int fb_DevLptTestProtocol (FB_FILE *handle, const char *filename, size_t filename_len)
 

Function Documentation

int fb_DevLptParseProtocol ( DEV_LPT_PROTOCOL **  lpt_proto_out,
const char *  proto_raw,
size_t  proto_raw_len,
int  subst_prn 
)

Tests for the right file name for LPT access.

Allowed file names are:

  • PRN:
  • LPT:
  • LPTx: with x>=1
  • LPT:printer_name,EMU=?,TITLE=?,OPT=?, ...

Definition at line 17 of file dev_lpt_test.c.

Here is the caller graph for this function:

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

Definition at line 144 of file dev_lpt_test.c.

Here is the call graph for this function:

Here is the caller graph for this function: