F5C.h

00001 
00002 #ifndef __F5C_H
00003 #define __F5C_H
00004 
00005 #include <F5/F5F.h>
00006 
00007 #ifdef  __cplusplus
00008 extern "C"
00009 {
00010 #endif
00011 
00016 F5_API int F5Cset (F5Path* fpath, const char* fieldname, const char* content_type);
00017 
00024 F5_API int F5Cget_fields (F5Path* fpath, size_t* count, char*** names);
00025 
00032 F5_API int F5Cget_content_types (F5Path* fpath, const char* fieldname, size_t* count, char*** content_types);
00033 
00034 
00041 F5_API int F5Cget_version (const char* content_type, int* major, int* minor, int* patch, const char** remainder);
00042 
00049 F5_API int F5Cget_subspec (const char* content_type, char* str, size_t size
00050                                 , int* major, int* minor, int* patch
00051                                 , const char** remainder);
00052 
00074 F5_API int F5Cparse_version_string (const char* version_string, char* str, size_t size
00075                                     , int* major, int* minor, int* patch, const char** remainder);
00076 
00077 #ifdef  __cplusplus
00078 }    /* extern "C" */
00079 #endif
00080 
00081 #endif  /* __F5C_H */