summaryrefslogtreecommitdiffstats
path: root/src/vlibmemory/memory_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vlibmemory/memory_client.h')
-rw-r--r--src/vlibmemory/memory_client.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vlibmemory/memory_client.h b/src/vlibmemory/memory_client.h
index 4d79478b80e..a0168693a4b 100644
--- a/src/vlibmemory/memory_client.h
+++ b/src/vlibmemory/memory_client.h
@@ -70,6 +70,12 @@ vlibapi_get_memory_client_main (void)
return my_memory_client_main;
}
+always_inline void
+vlibapi_set_memory_client_main (memory_client_main_t * mm)
+{
+ my_memory_client_main = mm;
+}
+
#endif /* SRC_VLIBMEMORY_MEMORY_CLIENT_H_ */
/*