source: git/src/commands.h @ ecbc6c18

RELEASE/1.1RELEASE/1.2debug-cidebug-ci-sanitisersstereowalls-data
Last change on this file since ecbc6c18 was ecbc6c18, checked in by Olly Betts <olly@…>, 14 years ago

src/: Update FSF address in licence notices.

git-svn-id: file:///home/survex-svn/survex/branches/survex-1_1@3417 4b37db11-9a0c-4f06-9ece-9ab7cdaee568

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/* commands.h
2 * Header file for code for directives
3 * Copyright (C) 1994-2003 Olly Betts
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18 */
19
20void handle_command(void);
21void default_all(settings *s);
22
23void default_units(settings *s);
24void default_calib(settings *s);
25
26void free_settings(settings *p);
27
28void copy_on_write_meta(settings *s);
29
30extern char *buffer;
31void get_token(void);
32
33typedef struct { const char *sz; int tok; } sztok;
34int match_tok(const sztok *tab, int tab_size);
35
36#define TABSIZE(T) ((sizeof(T) / sizeof(sztok)) - 1)
Note: See TracBrowser for help on using the repository browser.