GNU PROLOG with UTF8 support
Macros | Functions | Variables
flag_supp.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 dependency graph for flag_supp.c:

Macros

#define NB_OF_FLAGS   64
 
#define CURRENT_PROLOG_FLAG_ALT   X1_2463757272656E745F70726F6C6F675F666C61675F616C74
 

Functions

static FlagInfProlog_Flag_Lookup (int atom_name)
 
 Prolog_Prototype (CURRENT_PROLOG_FLAG_ALT, 0)
 
static void Init_Flag_Supp (void)
 
static WamWord Fct_Get_Integer (FlagInf *flag)
 
static Bool Fct_Chk_Integer (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_Integer (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_Atom (FlagInf *flag)
 
static Bool Fct_Chk_Atom (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_Atom (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_Round (FlagInf *flag)
 
static Bool Fct_Chk_Round (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_Round (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_Bool (FlagInf *flag)
 
static Bool Fct_Chk_Bool (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_Bool (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_On_Off (FlagInf *flag)
 
static Bool Fct_Chk_On_Off (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_On_Off (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_Err (FlagInf *flag)
 
static Bool Fct_Chk_Err (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_Err (FlagInf *flag, WamWord value_word)
 
static WamWord Fct_Get_Quotes (FlagInf *flag)
 
static Bool Fct_Chk_Quotes (FlagInf *flag, WamWord tag_mask, WamWord value_word)
 
static Bool Fct_Set_Quotes (FlagInf *flag, WamWord value_word)
 
FlagInfPl_New_Prolog_Flag (char *name, Bool modifiable, FlagType type, PlLong value, FlagFctGet fct_get, FlagFctChk fct_chk, FlagFctSet fct_set)
 
Bool Pl_Set_Prolog_Flag_2 (WamWord flag_word, WamWord value_word)
 
Bool Pl_Current_Prolog_Flag_2 (WamWord flag_word, WamWord value_word)
 
Bool Pl_Current_Prolog_Flag_Alt_0 (void)
 

Variables

static FlagInf flag_tbl [NB_OF_FLAGS]
 
static int nb_flag
 
static int atom_on
 
static int atom_off
 
static int atom_warning
 
static int atom_fail
 
static int atom_chars
 
static int atom_codes
 
static int atom_atom
 
static int atom_chars_no_escape
 
static int atom_codes_no_escape
 
static int atom_atom_no_escape
 
static int atom_toward_zero
 
static int atom_down
 

Macro Definition Documentation

#define CURRENT_PROLOG_FLAG_ALT   X1_2463757272656E745F70726F6C6F675F666C61675F616C74
#define NB_OF_FLAGS   64

Function Documentation

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

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

Here is the caller graph for this function:

static WamWord Fct_Get_Atom ( FlagInf flag)
static

Here is the caller graph for this function:

static WamWord Fct_Get_Bool ( FlagInf flag)
static

Here is the caller graph for this function:

static WamWord Fct_Get_Err ( FlagInf flag)
static

Here is the caller graph for this function:

static WamWord Fct_Get_Integer ( FlagInf flag)
static

Here is the caller graph for this function:

static WamWord Fct_Get_On_Off ( FlagInf flag)
static

Here is the caller graph for this function:

static WamWord Fct_Get_Quotes ( FlagInf flag)
static

Here is the caller graph for this function:

static WamWord Fct_Get_Round ( FlagInf flag)
static

Here is the caller graph for this function:

static Bool Fct_Set_Atom ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Set_Bool ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Set_Err ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Set_Integer ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Set_On_Off ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Set_Quotes ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static Bool Fct_Set_Round ( FlagInf flag,
WamWord  value_word 
)
static

Here is the caller graph for this function:

static void Init_Flag_Supp ( void  )
static

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Current_Prolog_Flag_2 ( WamWord  flag_word,
WamWord  value_word 
)

Here is the call graph for this function:

Bool Pl_Current_Prolog_Flag_Alt_0 ( void  )

Here is the call graph for this function:

FlagInf* Pl_New_Prolog_Flag ( char *  name,
Bool  modifiable,
FlagType  type,
PlLong  value,
FlagFctGet  fct_get,
FlagFctChk  fct_chk,
FlagFctSet  fct_set 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Bool Pl_Set_Prolog_Flag_2 ( WamWord  flag_word,
WamWord  value_word 
)

Here is the call graph for this function:

Here is the caller graph for this function:

static FlagInf * Prolog_Flag_Lookup ( int  atom_name)
static

Here is the caller graph for this function:

Prolog_Prototype ( CURRENT_PROLOG_FLAG_ALT  ,
 
)

Variable Documentation

int atom_atom
static
int atom_atom_no_escape
static
int atom_chars
static
int atom_chars_no_escape
static
int atom_codes
static
int atom_codes_no_escape
static
int atom_down
static
int atom_fail
static
int atom_off
static
int atom_on
static
int atom_toward_zero
static
int atom_warning
static
FlagInf flag_tbl[NB_OF_FLAGS]
static
int nb_flag
static