#include "xsb_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <fnmatch.h>
#include <glob.h>
#include "auxlry.h"
#include "cell_xsb.h"
#include "error_xsb.h"
#include "cinterf.h"
Defines | |
#define | FNM_CASEFOLD 0 |
#define | CASEFOLD_UNSUPPORTED 1 |
#define | GLOB_ABORTED (-2) |
#define | GLOB_NOMATCH (-3) |
#define | GLOB_NOSYS (-4) |
#define | GLOB_ABEND GLOB_ABORTED |
Functions | |
char * | p_charlist_to_c_string (prolog_term term, VarString *outstring, char *in_func, char *where) |
void | c_string_to_p_charlist (char *name, prolog_term list, char *in_func, char *where) |
static char * | lowercase_string (char *str) |
static | XSB_StrDefine (wild_buffer) |
static | XSB_StrDefine (input_string_buffer) |
int | do_wildmatch__ (void) |
int | do_glob_directory__ (void) |
static char * | uppercase_string (char *str) |
int | do_convert_string__ (void) |
Variables | |
static prolog_term | wild_term |
static prolog_term | input_string_term |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|