GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
glob-wrappers.c File Reference
#include <stdlib.h>
#include <fnmatch.h>
#include <glob.h>
#include "glob-wrappers.h"

Go to the source code of this file.

Functions

void * octave_create_glob_info_struct (void)
 
void octave_destroy_glob_info_struct (void *glob_info)
 
int octave_fnm_noescape_wrapper (void)
 
int octave_fnm_nomatch_wrapper (void)
 
int octave_fnm_pathname_wrapper (void)
 
int octave_fnm_period_wrapper (void)
 
int octave_fnmatch_wrapper (const char *pattern, const char *name, int flags)
 
char ** octave_glob_match_list (void *glob_info)
 
int octave_glob_nosort_wrapper (void)
 
int octave_glob_num_matches (void *glob_info)
 
int octave_glob_wrapper (const char *pattern, int flags, void *glob_info)
 
void octave_globfree_wrapper (void *glob_info)
 

Function Documentation

◆ octave_create_glob_info_struct()

void* octave_create_glob_info_struct ( void  )

Definition at line 43 of file glob-wrappers.c.

References malloc().

Referenced by glob(), and windows_glob().

◆ octave_destroy_glob_info_struct()

void octave_destroy_glob_info_struct ( void *  glob_info)

Definition at line 50 of file glob-wrappers.c.

References free().

Referenced by glob(), and windows_glob().

◆ octave_fnm_noescape_wrapper()

int octave_fnm_noescape_wrapper ( void  )

Definition at line 104 of file glob-wrappers.c.

◆ octave_fnm_nomatch_wrapper()

int octave_fnm_nomatch_wrapper ( void  )

Definition at line 92 of file glob-wrappers.c.

Referenced by fnmatch().

◆ octave_fnm_pathname_wrapper()

int octave_fnm_pathname_wrapper ( void  )

Definition at line 98 of file glob-wrappers.c.

◆ octave_fnm_period_wrapper()

int octave_fnm_period_wrapper ( void  )

Definition at line 110 of file glob-wrappers.c.

◆ octave_fnmatch_wrapper()

int octave_fnmatch_wrapper ( const char *  pattern,
const char *  name,
int  flags 
)

Definition at line 86 of file glob-wrappers.c.

References fnmatch().

Referenced by fnmatch().

◆ octave_glob_match_list()

char** octave_glob_match_list ( void *  glob_info)

Definition at line 68 of file glob-wrappers.c.

Referenced by glob(), and windows_glob().

◆ octave_glob_nosort_wrapper()

int octave_glob_nosort_wrapper ( void  )

Definition at line 80 of file glob-wrappers.c.

Referenced by glob(), and windows_glob().

◆ octave_glob_num_matches()

int octave_glob_num_matches ( void *  glob_info)

Definition at line 62 of file glob-wrappers.c.

Referenced by glob(), and windows_glob().

◆ octave_glob_wrapper()

int octave_glob_wrapper ( const char *  pattern,
int  flags,
void *  glob_info 
)

Definition at line 56 of file glob-wrappers.c.

References glob().

Referenced by glob(), and windows_glob().

◆ octave_globfree_wrapper()

void octave_globfree_wrapper ( void *  glob_info)

Definition at line 74 of file glob-wrappers.c.

Referenced by glob(), and windows_glob().