diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2010-06-09 13:03:39 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-14 20:43:50 +0200 |
commit | c614a6a199b1b1ce4ebfe26ca427370488fe8c38 (patch) | |
tree | 6419f6ed8574e8247dd9232e432271a3a3c258dd /openbsc/include | |
parent | b48216f9d1b15fe3e10cac5286a4e4cacc3d9791 (diff) |
db: Rename AuthTuples to AuthLastTuples
Ultimately, we'll need to store both the last used tuple by a
subscriber and a list of known tuples (for unknown Ki). What's
currently implemented for AuthTuples is the former behavior, so
reflect that.
The second use case will be added as a separate table with separate
accessors later on.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc/include')
-rw-r--r-- | openbsc/include/openbsc/db.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h index 1782efb50..c4fc28ae1 100644 --- a/openbsc/include/openbsc/db.h +++ b/openbsc/include/openbsc/db.h @@ -48,10 +48,10 @@ 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_authtuple_by_subscr(struct gsm_auth_tuple *atuple, - struct gsm_subscriber *subscr); -int set_authtuple_for_subscr(struct gsm_auth_tuple *atuple, - struct gsm_subscriber *subscr); +int get_lastauthtuple_by_subscr(struct gsm_auth_tuple *atuple, + struct gsm_subscriber *subscr); +int set_lastauthtuple_for_subscr(struct gsm_auth_tuple *atuple, + struct gsm_subscriber *subscr); /* SMS store-and-forward */ int db_sms_store(struct gsm_sms *sms); |