BEAST - Free Software Audio Synthesizer and Tracker  0.9.2
sfiserial.hh
Go to the documentation of this file.
1  // Licensed GNU LGPL v2.1 or later: http://www.gnu.org/licenses/lgpl.html
2 #ifndef __SFI_SERIAL_H__
3 #define __SFI_SERIAL_H__
4 
5 #include <sfi/sfivalues.hh>
6 
7 G_BEGIN_DECLS
8 
9 
10 /* --- functions --- */
11 GTokenType sfi_value_parse_typed (GValue *value,
12  GScanner *scanner);
13 GTokenType sfi_value_parse_param_rest (GValue *value,
14  GScanner *scanner,
15  GParamSpec *pspec);
16 void sfi_value_store_typed (const GValue *value,
17  GString *gstring);
18 void sfi_value_store_param (const GValue *value,
19  GString *gstring,
20  GParamSpec *pspec,
21  guint indent);
22 void sfi_value_store_stderr (const GValue *value);
23 
24 
25 /* --- NULL (nil) token handling --- */
26 #define SFI_SERIAL_NULL_TOKEN "#f"
27 /* parse NULL token if possible and return TRUE, otherwise
28  * return FALSE and don't advance scanner
29  */
30 gboolean sfi_serial_check_parse_null_token (GScanner *scanner);
31 
32 
33 /* --- GScanner config --- */
34 extern const GScannerConfig *sfi_storage_scanner_config;
35 
36 
37 G_END_DECLS
38 
39 #endif /* __SFI_SERIAL_H__ */
40 
41 /* vim:set ts=8 sts=2 sw=2: */