diff options
author | Renato Westphal <renato@openbsd.org> | 2019-01-29 14:58:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-29 14:58:55 +0100 |
commit | 65aef3a8bb29de011de9e4a3e55f11d5b0801e4f (patch) | |
tree | e8bd4ee56867298ca51ad406a0f771e0242c50f8 /doc | |
parent | Merge pull request #3664 from opensourcerouting/yang-embed-extensions (diff) | |
parent | doc: fix mistaken indentation (diff) | |
download | frr-65aef3a8bb29de011de9e4a3e55f11d5b0801e4f.tar.xz frr-65aef3a8bb29de011de9e4a3e55f11d5b0801e4f.zip |
Merge pull request #3621 from donaldsharp/modules_doc_update
doc: Update modules.rst to better represent what is needed
Diffstat (limited to 'doc')
-rw-r--r-- | doc/developer/modules.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/developer/modules.rst b/doc/developer/modules.rst index 99c79462a..763d8b1b8 100644 --- a/doc/developer/modules.rst +++ b/doc/developer/modules.rst @@ -53,6 +53,14 @@ Basic boilerplate: #include "hook.h" #include "module.h" + #include "libfrr.h" + #include "thread.h" + + static int module_late_init(struct thread_master *master) + { + /* Do initialization stuff here */ + return 0; + } static int module_init (void) |