summaryrefslogtreecommitdiff
path: root/src/irmd/apn_table.h
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2016-08-23 15:57:01 +0200
committerdimitri staessens <[email protected]>2016-08-23 15:57:01 +0200
commitb1eba5880803f8981d80ff452a2121407360e3d4 (patch)
tree964338b93fd226198ef12a4cbd796e57db7187d0 /src/irmd/apn_table.h
parent7c19363bc062efd52f54cc76a06685f9a9a757b5 (diff)
downloadouroboros-b1eba5880803f8981d80ff452a2121407360e3d4.tar.gz
ouroboros-b1eba5880803f8981d80ff452a2121407360e3d4.zip
irmd: Fix wrong lookup
ap_table had no function to look for entries by apn.
Diffstat (limited to 'src/irmd/apn_table.h')
-rw-r--r--src/irmd/apn_table.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/irmd/apn_table.h b/src/irmd/apn_table.h
index 88a2548a..fd0fb1de 100644
--- a/src/irmd/apn_table.h
+++ b/src/irmd/apn_table.h
@@ -59,4 +59,7 @@ void apn_table_del(struct list_head * apn_table,
struct apn_entry * apn_table_get(struct list_head * apn_table,
char * ap);
+struct apn_entry * apn_table_get_by_apn(struct list_head * apn_table,
+ char * apn);
+
#endif /* OUROBOROS_IRMD_APN_TABLE_H */