diff options
author | Maria Matejka <mq@ucw.cz> | 2022-03-18 22:05:50 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-04-06 18:14:08 +0200 |
commit | 4a23ede2b056a41456790cc20a0c3d92a7137693 (patch) | |
tree | 179c6f0ae13604cb85e9f10729818ef0b131e9a1 /proto/rpki | |
parent | 0f68515263e91dd49b2d845cdff35af40c064dc2 (diff) |
Protocols have their own explicit init routines
Diffstat (limited to 'proto/rpki')
-rw-r--r-- | proto/rpki/Makefile | 3 | ||||
-rw-r--r-- | proto/rpki/rpki.c | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/proto/rpki/Makefile b/proto/rpki/Makefile index eb09b7df..8e3a2761 100644 --- a/proto/rpki/Makefile +++ b/proto/rpki/Makefile @@ -2,5 +2,6 @@ src := rpki.c packets.c tcp_transport.c ssh_transport.c transport.c obj := $(src-o-files) $(all-daemon) $(cf-local) +$(call proto-build,rpki_build) -tests_objs := $(tests_objs) $(src-o-files)
\ No newline at end of file +tests_objs := $(tests_objs) $(src-o-files) diff --git a/proto/rpki/rpki.c b/proto/rpki/rpki.c index be3d19ab..6e111a81 100644 --- a/proto/rpki/rpki.c +++ b/proto/rpki/rpki.c @@ -949,3 +949,9 @@ struct protocol proto_rpki = { .reconfigure = rpki_reconfigure, .get_status = rpki_get_status, }; + +void +rpki_build(void) +{ + proto_build(&proto_rpki); +} |