summaryrefslogtreecommitdiff
path: root/services/modstack.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:54:35 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2018-05-12 11:54:35 +0000
commit15de2de8449b4f5063f93578ae68aa0bc79a205c (patch)
treef0a7e3230212205e7ff88a2900de97026940f63c /services/modstack.h
parent689b65913bba5320ef50befddf4743c6dafde873 (diff)
Diffstat (limited to 'services/modstack.h')
-rw-r--r--services/modstack.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/modstack.h b/services/modstack.h
index cb8613299abb4..3ff01b54d938d 100644
--- a/services/modstack.h
+++ b/services/modstack.h
@@ -110,4 +110,7 @@ void modstack_desetup(struct module_stack* stack, struct module_env* env);
*/
int modstack_find(struct module_stack* stack, const char* name);
+/** fetch memory for a module by name, returns 0 if module not there */
+size_t mod_get_mem(struct module_env* env, const char* name);
+
#endif /* SERVICES_MODSTACK_H */