summaryrefslogtreecommitdiff
path: root/src/include/cctk_ActiveThorns.h
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-14 16:26:19 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-10-14 16:26:19 +0000
commit53b6ac14a0dccc345bab160446c0236a90b05c88 (patch)
treec47da8a35a61b4f8d14b2ab75dbb240ec316f326 /src/include/cctk_ActiveThorns.h
parent8d89e92aa46c4c26199f49126d859388260436a9 (diff)
Additions to parameter stuff and activethorns - thanks Andre.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1042 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/include/cctk_ActiveThorns.h')
-rw-r--r--src/include/cctk_ActiveThorns.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/cctk_ActiveThorns.h b/src/include/cctk_ActiveThorns.h
index eb1f2f60..542cb63c 100644
--- a/src/include/cctk_ActiveThorns.h
+++ b/src/include/cctk_ActiveThorns.h
@@ -11,6 +11,10 @@
#ifndef __ACTIVETHORNS_H_
#define __ACTIVETHORNS_H_
+#include <stdio.h>
+#include "SKBinTree.h"
+
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -23,8 +27,12 @@ int CCTKi_ListThorns(FILE *file, const char *format, int active);
int CCTKi_ListImplementations(FILE *file, const char *format, int active);
const char *CCTK_ActivatingThorn(const char *imp);
- /* FIXME - should return a list or something */
-t_sktree *CCTK_ImpThornList(const char *imp);
+/* FIXME - should return a list or something */
+t_sktree *CCTK_ImpThornList (const char *imp);
+
+/* public routines to get information about thorns and imps */
+int CCTK_ImpList (int active, char ***list, int *n_implementations);
+int CCTK_ThornList (const char* imp, char ***list, int *n_thorns);
#ifdef __cplusplus