uri.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00030 #ifndef __URI_H_
00031 #define __URI_H_
00032
00033 #ifdef HAVE_CONFIG_H
00034 #include <config.h>
00035 #endif
00036 #include <stdlib.h>
00037
00038 #ifndef __URI_C_
00039 #define URI_EXTERN extern
00040 #else
00041 #define URI_EXTERN
00042 #endif
00043
00044 URI_EXTERN int is_uri(const char *path);
00045 URI_EXTERN int is_file(const char *path);
00046 URI_EXTERN int is_dir(const char *path);
00047 URI_EXTERN int is_symlink(const char *path);
00048
00056 URI_EXTERN int get_from_uri(const char *uri_str, unsigned char **data, size_t *length);
00057
00058 #undef URI_EXTERN
00059
00060 #endif