summaryrefslogtreecommitdiff
path: root/synth/load.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@thinkpad.(none)>2011-01-10 20:39:51 +0100
committerFlorian Jung <flo@thinkpad.(none)>2011-01-11 14:24:49 +0100
commitdb04e2fb861ed7ccef5a7339e9860ca5c2590a7c (patch)
tree4f2e2efe0f403981ae0d2ad47319dd1e253182f0 /synth/load.h
parente32591388a18c8226e61b8f88b031ed7c88ca153 (diff)
In-synth-cli can now (re)load programs. maybe SEGFAULTING?
Diffstat (limited to 'synth/load.h')
-rw-r--r--synth/load.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/synth/load.h b/synth/load.h
index 9724e92..1597fc9 100644
--- a/synth/load.h
+++ b/synth/load.h
@@ -2,10 +2,12 @@
#define __LOAD_H__
#include <string>
+#include "programs.h"
using namespace std;
void add_dir(string directory, bool complain=true);
void read_config(const char *cfg, bool complain=true);
+bool load_program(string file, program_t& prog);
#endif