BEAST/BSE - Better Audio System and Sound Engine  0.8.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
sfiserial.hh
Go to the documentation of this file.
00001  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
00002 #ifndef __SFI_SERIAL_H__
00003 #define __SFI_SERIAL_H__
00004 
00005 #include <sfi/sfivalues.hh>
00006 
00007 G_BEGIN_DECLS
00008 
00009 
00010 /* --- functions --- */
00011 GTokenType      sfi_value_parse_typed           (GValue         *value,
00012                                                  GScanner       *scanner);
00013 GTokenType      sfi_value_parse_param_rest      (GValue         *value,
00014                                                  GScanner       *scanner,
00015                                                  GParamSpec     *pspec);
00016 void            sfi_value_store_typed           (const GValue   *value,
00017                                                  GString        *gstring);
00018 void            sfi_value_store_param           (const GValue   *value,
00019                                                  GString        *gstring,
00020                                                  GParamSpec     *pspec,
00021                                                  guint           indent);
00022 void            sfi_value_store_stderr          (const GValue   *value);
00023 
00024 
00025 /* --- NULL (nil) token handling --- */
00026 #define  SFI_SERIAL_NULL_TOKEN  "#f"
00027 /* parse NULL token if possible and return TRUE, otherwise
00028  * return FALSE and don't advance scanner
00029  */
00030 gboolean sfi_serial_check_parse_null_token      (GScanner       *scanner);
00031 
00032 
00033 /* --- GScanner config --- */
00034 extern const GScannerConfig *sfi_storage_scanner_config;
00035 
00036 
00037 G_END_DECLS
00038 
00039 #endif /* __SFI_SERIAL_H__ */
00040 
00041 /* vim:set ts=8 sts=2 sw=2: */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines