Merge pull request #3621 from donaldsharp/modules_doc_update

doc: Update modules.rst to better represent what is needed
This commit is contained in:
Renato Westphal 2019-01-29 11:58:55 -02:00 committed by GitHub
commit 65aef3a8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)