xref: /openbsd-src/regress/usr.sbin/rpki-client/repo-dummy.c (revision d6d042a5789537d5d539af235ad3e932c7b51581)
1 /*
2  * Public domain
3  * dummy shim for some tests.
4  */
5 
6 #include "extern.h"
7 
8 void
repo_stat_inc(struct repo * repo,int tal,enum rtype type,enum stype subtype)9 repo_stat_inc(struct repo *repo, int tal, enum rtype type, enum stype subtype)
10 {
11 	return;
12 }
13 
14 struct repo *
repo_byid(unsigned int id)15 repo_byid(unsigned int id)
16 {
17 	return NULL;
18 }
19 
20 unsigned int
repo_id(const struct repo * repo)21 repo_id(const struct repo *repo)
22 {
23 	return 0;
24 }
25