summaryrefslogtreecommitdiff
path: root/accel-pppd/triton/triton.h
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2011-01-26 22:47:10 +0300
committerDmitry Kozlov <xeb@mail.ru>2011-01-26 22:47:10 +0300
commit419de8f6910e4fd5d442068ad5ae41b530169470 (patch)
treef28b69928983f8c772f40e873ce571379e9fa546 /accel-pppd/triton/triton.h
parentb997d19f3b6e3087bffb072dd326c4b5311143b5 (diff)
downloadaccel-ppp-419de8f6910e4fd5d442068ad5ae41b530169470.tar.gz
accel-ppp-419de8f6910e4fd5d442068ad5ae41b530169470.zip
dynamicaly check if radius module loaded (so not more require to rebuild project without RADIUS to switch to chap-secrets)
Diffstat (limited to 'accel-pppd/triton/triton.h')
-rw-r--r--accel-pppd/triton/triton.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/triton/triton.h b/accel-pppd/triton/triton.h
index 6866d523..98ef1113 100644
--- a/accel-pppd/triton/triton.h
+++ b/accel-pppd/triton/triton.h
@@ -104,6 +104,8 @@ void triton_conf_reload(void (*notify)(int));
void triton_collect_cpu_usage(void);
void triton_stop_collect_cpu_usage(void);
+int triton_module_loaded(const char *name);
+
#define TRITON_OK 0
#define TRITON_ERR_NOCOMP -1