/+junk/codegen

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/codegen

« back to all changes in this revision

Viewing changes to src/configuration.h

  • Committer: Gustav Hartvigsson
  • Date: 2022-10-19 21:06:55 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20221019210655-9iqu2dhjbpvedoma
Beep Boop, nothin yet.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#pragma once
 
2
 
 
3
#include "defs.h"
 
4
 
 
5
CG_BEGIN_DEFS
 
6
 
 
7
typedef struct Configuration {
 
8
  int tmp;
 
9
  str_t in_file_path;
 
10
  str_t out_file_path;
 
11
} Configuration;
 
12
 
 
13
typedef enum ConfigurationParam {
 
14
  CONFIG_PARAM_INVALID,
 
15
 
 
16
  CONFIG_PARAM_LAST
 
17
} ConfigurationParam;
 
18
 
 
19
Configuration *
 
20
configuration_get_default ();
 
21
 
 
22
void
 
23
configuration_set_default (Configuration* cfg);
 
24
 
 
25
void
 
26
configuration_free_default ();
 
27
 
 
28
CG_END_DEFS