GNU PROLOG with UTF8 support
Data Structures | Macros | Functions | Variables
flag_c.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "engine_pl.h"
#include "gprolog_cst.h"
#include "bips_pl.h"
#include <unistd.h>
Include dependency graph for flag_c.c:

Data Structures

struct  SFOp
 

Macros

#define OBJ_INIT   Flag_Initializer
 
#define FLAG_C_FILE
 
#define ENVIRON_ALT   X1_24656E7669726F6E5F616C74
 
#define FWRITE(b, sz, n, f)   if (fwrite(b, sz, n, f) != n) {}
 
#define FREAD(b, sz, n, f)   if (fread(b, sz, n, f) != n) {}
 

Functions

static Bool Fct_Set_Debug (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_Version_Data (FlagInf *flag)
 
static Bool Fct_Chk_Version_Data (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static WamWord Fct_Get_Argv (FlagInf *flag)
 
static Bool Fct_Chk_Argv (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
 Prolog_Prototype (ENVIRON_ALT, 0)
 
static void Flag_Initializer (void)
 
void Pl_Sys_Var_Write_2 (WamWord var_word, WamWord n_word)
 
Bool Pl_Sys_Var_Read_2 (WamWord var_word, WamWord n_word)
 
void Pl_Sys_Var_Inc_1 (WamWord var_word)
 
void Pl_Sys_Var_Dec_1 (WamWord var_word)
 
void Pl_Sys_Var_Set_Bit_2 (WamWord var_word, WamWord bit_word)
 
void Pl_Sys_Var_Reset_Bit_2 (WamWord var_word, WamWord bit_word)
 
Bool Pl_Sys_Var_Get_Bit_3 (WamWord var_word, WamWord bit_word, WamWord value_word)
 
void Pl_Sys_Var_Put_2 (WamWord var_word, WamWord term_word)
 
Bool Pl_Sys_Var_Get_2 (WamWord var_word, WamWord term_word)
 
void Pl_Get_Current_B_1 (WamWord b_word)
 
void Pl_Set_Current_B_1 (WamWord b_word)
 
Bool Pl_Write_Pl_State_File (WamWord file_word)
 
Bool Pl_Read_Pl_State_File (WamWord file_word)
 
Bool Pl_Argument_Counter_1 (WamWord n_word)
 
Bool Pl_Argument_Value_2 (WamWord i_word, WamWord a_word)
 
Bool Pl_Argument_List_1 (WamWord list_word)
 
Bool Pl_Environ_2 (WamWord var_name_word, WamWord value_word)
 
Bool Pl_Environ_Alt_0 (void)
 

Variables

char ** environ
 
static int atom_on
 
static int atom_the_dialect
 
static int atom_the_cc
 

Macro Definition Documentation

#define ENVIRON_ALT   X1_24656E7669726F6E5F616C74
#define FLAG_C_FILE
#define FREAD (   b,
  sz,
  n,
  f 
)    if (fread(b, sz, n, f) != n) {}
#define FWRITE (   b,
  sz,
  n,
  f 
)    if (fwrite(b, sz, n, f) != n) {}
#define OBJ_INIT   Flag_Initializer

Function Documentation

static Bool Fct_Chk_Argv ( FlagInf flag,
WamWord  tag_mask,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Chk_Version_Data ( FlagInf flag,
WamWord  tag_mask,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static WamWord Fct_Get_Argv ( FlagInf flag)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static WamWord Fct_Get_Version_Data ( FlagInf flag)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static Bool Fct_Set_Debug ( FlagInf flag,
WamWord  value_word 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static void Flag_Initializer ( void  )
static

Here is the call graph for this function:

Bool Pl_Argument_Counter_1 ( WamWord  n_word)

Here is the call graph for this function:

Bool Pl_Argument_List_1 ( WamWord  list_word)

Here is the call graph for this function:

Bool Pl_Argument_Value_2 ( WamWord  i_word,
WamWord  a_word 
)

Here is the call graph for this function:

Bool Pl_Environ_2 ( WamWord  var_name_word,
WamWord  value_word 
)

Here is the call graph for this function:

Bool Pl_Environ_Alt_0 ( void  )

Here is the call graph for this function:

void Pl_Get_Current_B_1 ( WamWord  b_word)

Here is the call graph for this function:

Bool Pl_Read_Pl_State_File ( WamWord  file_word)

Here is the call graph for this function:

void Pl_Set_Current_B_1 ( WamWord  b_word)

Here is the call graph for this function:

void Pl_Sys_Var_Dec_1 ( WamWord  var_word)

Here is the call graph for this function:

Bool Pl_Sys_Var_Get_2 ( WamWord  var_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Sys_Var_Get_Bit_3 ( WamWord  var_word,
WamWord  bit_word,
WamWord  value_word 
)

Here is the call graph for this function:

void Pl_Sys_Var_Inc_1 ( WamWord  var_word)

Here is the call graph for this function:

void Pl_Sys_Var_Put_2 ( WamWord  var_word,
WamWord  term_word 
)

Here is the call graph for this function:

Bool Pl_Sys_Var_Read_2 ( WamWord  var_word,
WamWord  n_word 
)

Here is the call graph for this function:

void Pl_Sys_Var_Reset_Bit_2 ( WamWord  var_word,
WamWord  bit_word 
)

Here is the call graph for this function:

void Pl_Sys_Var_Set_Bit_2 ( WamWord  var_word,
WamWord  bit_word 
)

Here is the call graph for this function:

void Pl_Sys_Var_Write_2 ( WamWord  var_word,
WamWord  n_word 
)

Here is the call graph for this function:

Bool Pl_Write_Pl_State_File ( WamWord  file_word)

Here is the call graph for this function:

Here is the caller graph for this function:

Prolog_Prototype ( ENVIRON_ALT  ,
 
)

Variable Documentation

int atom_on
static
int atom_the_cc
static
int atom_the_dialect
static
char** environ