From b1eba5880803f8981d80ff452a2121407360e3d4 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Tue, 23 Aug 2016 15:57:01 +0200 Subject: irmd: Fix wrong lookup ap_table had no function to look for entries by apn. --- src/irmd/apn_table.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/irmd/apn_table.h') 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 */ -- cgit v1.2.3