GNU PROLOG with UTF8 support
Macros | Functions | Variables
hexfilter.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <stdarg.h>
#include "../EnginePl/gp_config.h"
#include "decode_hexa.c"
Include dependency graph for hexfilter.c:

Macros

#define MAX_ARGS   1024
 
#define HEXGPLC_VERSION   "1.1"
 
#define Check_Arg(i, str)   (strncmp(argv[i], str, strlen(argv[i])) == 0)
 
#define L(msg)   fprintf(stderr, "%s\n", msg)
 

Functions

void One_File (FILE *f)
 
void One_Line (char *str)
 
void Pl_Fatal_Error (char *format,...)
 
void Parse_Arguments (int argc, char *argv[])
 
void Display_Help (void)
 
int main (int argc, char *argv[])
 

Variables

int encode = 0
 
int strict = 1
 
int quote = 1
 
int enclose = 1
 
int decode_aux = 0
 
int cmd_line = 0
 
char * format = NULL
 
FILE * fin = NULL
 
char * arg [MAX_ARGS]
 
int nb_arg = 0
 

Macro Definition Documentation

#define Check_Arg (   i,
  str 
)    (strncmp(argv[i], str, strlen(argv[i])) == 0)
#define HEXGPLC_VERSION   "1.1"
#define L (   msg)    fprintf(stderr, "%s\n", msg)
#define MAX_ARGS   1024

Function Documentation

void Display_Help ( void  )

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

void One_File ( FILE *  f)

Here is the call graph for this function:

Here is the caller graph for this function:

void One_Line ( char *  str)

Here is the call graph for this function:

Here is the caller graph for this function:

void Parse_Arguments ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Pl_Fatal_Error ( char *  format,
  ... 
)

Here is the caller graph for this function:

Variable Documentation

char* arg[MAX_ARGS]
int cmd_line = 0
int decode_aux = 0
int enclose = 1
int encode = 0
FILE* fin = NULL
char* format = NULL
int nb_arg = 0
int quote = 1
int strict = 1