projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
21aa667
)
Add nonnull hint
author
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Fri, 30 May 2014 16:16:31 +0000
(17:16 +0100)
committer
Arran Cudbard-Bell
<a.cudbardb@freeradius.org>
Fri, 30 May 2014 16:49:06 +0000
(17:49 +0100)
src/include/radiusd.h
patch
|
blob
|
history
diff --git
a/src/include/radiusd.h
b/src/include/radiusd.h
index
be0ac80
..
96ae8ea
100644
(file)
--- a/
src/include/radiusd.h
+++ b/
src/include/radiusd.h
@@
-564,7
+564,8
@@
void client_delete(RADCLIENT_LIST *clients, RADCLIENT *client);
RADCLIENT *client_from_request(RADCLIENT_LIST *clients, REQUEST *request);
#endif
RADCLIENT *client_from_query(TALLOC_CTX *ctx, char const *identifier, char const *secret, char const *shortname,
- char const *type, char const *server, bool require_ma);
+ char const *type, char const *server, bool require_ma) CC_HINT(nonnull(2, 3));
+
RADCLIENT *client_find(RADCLIENT_LIST const *clients,
fr_ipaddr_t const *ipaddr, int proto);