Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

src/main/path.c File Reference

#include <gimp-print/gimp-print.h>
#include "gimp-print-internal.h"
#include <gimp-print/gimp-print-intl-internal.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <dirent.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

Go to the source code of this file.

Functions

int stpi_path_check (const struct dirent *module)
char * stpi_path_merge (const char *path, const char *file)
stp_list_tstp_path_search (stp_list_t *dirlist, const char *suffix)
void stp_path_split (stp_list_t *list, const char *path)

Variables

const char * path_check_path
const char * path_check_suffix


Function Documentation

stp_list_t* stp_path_search stp_list_t   dirlist,
const char *    suffix
 

Definition at line 47 of file path.c.

References path_check_path, path_check_suffix, STP_DBG_PATH, stp_deprintf(), stp_list_create(), stp_list_get_start(), stp_list_item_create(), stp_list_item_get_data(), stp_list_item_next(), stp_list_set_freefunc(), stpi_path_check(), and stpi_path_merge().

Referenced by stp_module_load(), and stp_xml_parse_file_named().

void stp_path_split stp_list_t   list,
const char *    path
 

Definition at line 162 of file path.c.

References stp_list_item_create(), and stp_malloc().

Referenced by stp_module_load(), and stp_xml_parse_file_named().

int stpi_path_check const struct dirent *    module [static]
 

Definition at line 97 of file path.c.

References path_check_path, path_check_suffix, STP_DBG_PATH, stp_deprintf(), stp_free(), and stpi_path_merge().

Referenced by stp_path_search().

char * stpi_path_merge const char *    path,
const char *    file
[static]
 

Definition at line 143 of file path.c.

References stp_malloc().

Referenced by stp_path_search(), and stpi_path_check().


Variable Documentation

const char* path_check_path [static]
 

Definition at line 39 of file path.c.

Referenced by stp_path_search(), and stpi_path_check().

const char* path_check_suffix [static]
 

Definition at line 40 of file path.c.

Referenced by stp_path_search(), and stpi_path_check().


Generated on Wed May 12 20:21:36 2004 for libgimpprint API Reference by doxygen1.2.17