path.h

Go to the documentation of this file.
00001 /*
00002 ** path.h for  in /root/work/atomix/lseos/lseos_lbc/sysinterf
00003 ** 
00004 ** Copyright (c)2004 Vianney Rancurel, Julien Quintard
00005 ** Login   <vianney@epita.fr>
00006 ** 
00007 ** Started on  Tue Sep 28 14:29:36 2004 Vianney Rancurel
00008 ** Last update Mon Dec  6 12:29:59 2004 Vianney Rancurel
00009 */
00010 #ifndef __CONVEN_PATH_H__
00011 #define __CONVEN_PATH_H__       1
00012 #include <libc.h>
00013 
00014 #define PATHOPT_CATWD           (1<<0u) 
00015 #define PATHOPT_SIMPLIFY        (1<<1u) 
00016 #define PATHOPT_DEBUG           (1<<2u) 
00018 typedef int     (*t_path_gate_fn)(char *npath, int *gate_returned);
00019 
00020 /* PROTO path.c */
00021 /* path.c */
00022 char **path_split(char *path, char sep);
00023 int path_simplify(char *path);
00024 int userland_path_gate(char *npath, int *gate_returned);
00025 char *path_treat(char *path, u_int32_t opts, char *wd, t_path_gate_fn path_gate, int *gate_returned, char *s);
00026 #endif

Generated on Wed May 24 23:04:16 2006 for LSE/OS by  doxygen 1.4.6