summaryrefslogtreecommitdiffstats
path: root/src/engine.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-06-26 17:51:43 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-06-26 17:51:43 +0000
commitc60519ab50b32dc282b385b3bbb2df319279f655 (patch)
tree001c2f9653029878da1eee01d19636221a5ad268 /src/engine.h
parent3aa2acb1aa6931d9a5cab87fe9bef94086e25d16 (diff)
downloadlibrcc-c60519ab50b32dc282b385b3bbb2df319279f655.tar.gz
librcc-c60519ab50b32dc282b385b3bbb2df319279f655.tar.bz2
librcc-c60519ab50b32dc282b385b3bbb2df319279f655.tar.xz
librcc-c60519ab50b32dc282b385b3bbb2df319279f655.zip
26.06.2005
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h19
1 files changed, 14 insertions, 5 deletions
diff --git a/src/engine.h b/src/engine.h
index 8f7400a..c0cb57d 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -1,11 +1,20 @@
#ifndef _RCC_ENGINE_H
-#defien _RCC_ENGINE_H
+#define _RCC_ENGINE_H
-int rccEngineInit(rcc_engine_context *engine_ctx, rcc_context *ctx);
-void rccFreeEngine(rcc_engine_context *engine_ctx);
+struct rcc_engine_context_t {
+ rcc_context ctx;
+ rcc_language *language;
+
+ rcc_engine_function func;
+ rcc_engine_free_function free_func;
-int rccConfigure(rcc_engine_context *ctx);
+ rcc_engine_internal internal;
+};
+typedef struct rcc_engine_context_t rcc_engine_context_s;
-rcc_engine_internal rccEngineGetInternal(rcc_engine_context *ctx);
+int rccEngineInit(rcc_engine_context engine_ctx, rcc_context ctx);
+void rccEngineFree(rcc_engine_context engine_ctx);
+
+rcc_engine_internal rccEngineGetInternal(rcc_engine_context ctx);
#endif /* _RCC_ENGINE_H */