libstdf.h

Go to the documentation of this file.
00001 
00005 /*
00006  * Copyright (C) 2004-2006 Mike Frysinger <vapier@gmail.com>
00007  * Released under the BSD license.  For more information,
00008  * please see: http://opensource.org/licenses/bsd-license.php
00009  *
00010  * $Header: /cvsroot/freestdf/libstdf/include/libstdf.h,v 1.25 2005/12/08 04:07:07 vapier Exp $
00011  */
00012 
00013 #ifndef _LIBSTDF_H
00014 #define _LIBSTDF_H
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020 #include <libstdf_systems.h>
00021 #include <libstdf_bswap.h>
00022 
00023 #include <libstdf_const.h>
00024 #include <libstdf_types.h>
00025 
00029 typedef enum {
00030     STDF_FORMAT_REG    = 0x0,    
00031     STDF_FORMAT_ZIP    = 0x1,    
00032     STDF_FORMAT_GZIP   = 0x2,    
00033     STDF_FORMAT_BZIP2  = 0x3,    
00034     STDF_FORMAT_LZW    = 0x4     
00035 } stdf_format;
00036 
00040 typedef enum {
00041     STDF_OPTS_DEFAULT  = 0x000,  
00042     STDF_OPTS_FORCE    = 0x001,  
00043     STDF_OPTS_FORCE_V3 = 0x002,  
00044     STDF_OPTS_FORCE_V4 = 0x004,  
00045     STDF_OPTS_ZIP      = 0x008,  
00046     STDF_OPTS_GZIP     = 0x010,  
00047     STDF_OPTS_BZIP2    = 0x020,  
00048     STDF_OPTS_LZW      = 0x040,  
00049     STDF_OPTS_READ     = 0x080,  
00050     STDF_OPTS_WRITE    = 0x100,  
00051     STDF_OPTS_CREATE   = 0x200   
00052 } stdf_initial_options;
00053 
00054 typedef enum {
00055     STDF_SETTING_WRITE_SIZE = 0x001, 
00056     STDF_SETTING_VERSION    = 0x002, 
00057     STDF_SETTING_BYTE_ORDER = 0x003  
00058 } stdf_runtime_settings;
00059 
00060 
00061 #ifdef __IN_LIBSTDF
00062 # include <libstdf_internal.h>
00063 #else
00064 typedef void stdf_file;
00065 #endif
00066 
00067 #include <libstdf_funcs.h>
00068 
00069 #ifdef __cplusplus
00070 }
00071 #endif
00072 
00073 #endif /* _LIBSTDF_H */

Generated on Thu Jun 8 14:05:35 2006 for libstdf by  doxygen 1.4.6