mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 19:05:37 +00:00
Merge pull request #3621 from donaldsharp/modules_doc_update
doc: Update modules.rst to better represent what is needed
This commit is contained in:
commit
65aef3a8bb
@ -53,6 +53,14 @@ Basic boilerplate:
|
|||||||
|
|
||||||
#include "hook.h"
|
#include "hook.h"
|
||||||
#include "module.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
|
static int
|
||||||
module_init (void)
|
module_init (void)
|
||||||
|
Loading…
Reference in New Issue
Block a user