new_opts.h

Go to the documentation of this file.
00001 /*
00002     new_opts.h:
00003 
00004     Copyright (C) 2005 Istvan Varga
00005 
00006     This file is part of Csound.
00007 
00008     The Csound Library is free software; you can redistribute it
00009     and/or modify it under the terms of the GNU Lesser General Public
00010     License as published by the Free Software Foundation; either
00011     version 2.1 of the License, or (at your option) any later version.
00012 
00013     Csound is distributed in the hope that it will be useful,
00014     but WITHOUT ANY WARRANTY; without even the implied warranty of
00015     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016     GNU Lesser General Public License for more details.
00017 
00018     You should have received a copy of the GNU Lesser General Public
00019     License along with Csound; if not, write to the Free Software
00020     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
00021     02111-1307 USA
00022 */
00023 
00024 #ifndef CSOUND_NEW_OPTS_H
00025 #define CSOUND_NEW_OPTS_H
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00039 /* ------------------------ INTERNAL API FUNCTIONS ------------------------ */
00040 
00041 /* list command line usage of all registered configuration variables */
00042 
00043 void dump_cfg_variables(CSOUND *csound);
00044 
00045 /* Parse 's' as an assignment to a configuration variable in the format */
00046 /* '-+NAME=VALUE'. In the case of boolean variables, the format may also */
00047 /* be '-+NAME' for true, and '-+no-NAME' for false. */
00048 /* Return value is zero on success. */
00049 
00050 int parse_option_as_cfgvar(CSOUND *csound, const char *s);
00051 
00052 #ifdef __cplusplus
00053 }
00054 #endif
00055 
00056 #endif  /* CSOUND_NEW_OPTS_H */
00057 

Generated on Sun Nov 9 00:04:52 2008 for Csound and CsoundAC by  doxygen 1.5.6