mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 10:22:07 +00:00
doc: Update modules.rst to better represent what is needed
The modules.rst documents how to create a module, let's update it a bit to reflect what an end user needs to do a bit more. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
c5ef74c4bc
commit
2a7d947108
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user