aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/db.h
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2010-06-09 11:32:51 +0200
committerHarald Welte <laforge@gnumonks.org>2010-06-14 20:43:50 +0200
commit92b2ff50810159c2e05152c4ecfd70cfd549f208 (patch)
tree5f9f9a7c8469d4e7e55f19007edd09e5a6098069 /openbsc/include/openbsc/db.h
parent10bf812a6ada275c2066079a29e1f995915c9d3f (diff)
db: Change naming convention for auth info functions
- exported function have a 'db_' prefix - use 'sync' vs 'set' - use 'for' vs 'by' Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/include/openbsc/db.h')
-rw-r--r--openbsc/include/openbsc/db.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h
index c4fc28ae1..2a521f063 100644
--- a/openbsc/include/openbsc/db.h
+++ b/openbsc/include/openbsc/db.h
@@ -44,14 +44,14 @@ int db_subscriber_assoc_imei(struct gsm_subscriber* subscriber, char *imei);
int db_sync_equipment(struct gsm_equipment *equip);
/* auth info */
-int get_authinfo_by_subscr(struct gsm_auth_info *ainfo,
- struct gsm_subscriber *subscr);
-int set_authinfo_for_subscr(struct gsm_auth_info *ainfo,
- struct gsm_subscriber *subscr);
-int get_lastauthtuple_by_subscr(struct gsm_auth_tuple *atuple,
+int db_get_authinfo_for_subscr(struct gsm_auth_info *ainfo,
+ struct gsm_subscriber *subscr);
+int db_sync_authinfo_for_subscr(struct gsm_auth_info *ainfo,
struct gsm_subscriber *subscr);
-int set_lastauthtuple_for_subscr(struct gsm_auth_tuple *atuple,
- struct gsm_subscriber *subscr);
+int db_get_lastauthtuple_for_subscr(struct gsm_auth_tuple *atuple,
+ struct gsm_subscriber *subscr);
+int db_sync_lastauthtuple_for_subscr(struct gsm_auth_tuple *atuple,
+ struct gsm_subscriber *subscr);
/* SMS store-and-forward */
int db_sms_store(struct gsm_sms *sms);