diff options
author | Patrick McHardy <kaber@trash.net> | 2009-05-27 02:12:17 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-05-27 02:12:17 +0200 |
commit | fdcad12315b2b347727ee2c3bcccc40d838e75d0 (patch) | |
tree | 288d6e116d1ba99e0bea61074054851b3893b65e /example/mm.c | |
parent | 1bd087cd917bc6c09cd3b20c035ac27f9c556536 (diff) |
mm: fix some identity assignment related function signatures
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'example/mm.c')
-rw-r--r-- | example/mm.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/example/mm.c b/example/mm.c index 46683f4..cc9b7a6 100644 --- a/example/mm.c +++ b/example/mm.c @@ -7,17 +7,17 @@ static uint8_t prefix[3] = { 1, 0, 0}; static uint16_t num; -static void dect_mm_access_rights_ind(struct dect_handle *dh, - struct dect_mm_transaction *mmta, - const struct dect_mm_access_rights_param *param) +static void mm_access_rights_ind(struct dect_handle *dh, + struct dect_mm_transaction *mmta, + const struct dect_mm_access_rights_param *param) { printf("MM_ACCESS_RIGHTS-ind\n"); dect_mm_access_rights_res(dh, mmta, true, param); } -static void dect_mm_locate_ind(struct dect_handle *dh, - struct dect_mm_transaction *mmta, - const struct dect_mm_locate_param *param) +static void mm_locate_ind(struct dect_handle *dh, + struct dect_mm_transaction *mmta, + const struct dect_mm_locate_param *param) { struct dect_ie_portable_identity portable_identity; struct dect_ie_duration duration; @@ -45,17 +45,17 @@ static void dect_mm_locate_ind(struct dect_handle *dh, dect_mm_locate_res(dh, mmta, &reply); } -static void dect_mm_identity_assign_cfm(struct dect_handle *dh, - struct dect_mm_transaction *mmta, - const struct dect_mm_identity_assign_param *param) +static void mm_identity_assign_cfm(struct dect_handle *dh, + struct dect_mm_transaction *mmta, bool accept, + const struct dect_mm_identity_assign_param *param) { printf("MM_IDENTITY_ASSIGN-cfm\n"); } static const struct dect_mm_ops mm_ops = { - .mm_access_rights_ind = dect_mm_access_rights_ind, - .mm_locate_ind = dect_mm_locate_ind, - .mm_identity_assign_cfm = dect_mm_identity_assign_cfm, + .mm_access_rights_ind = mm_access_rights_ind, + .mm_locate_ind = mm_locate_ind, + .mm_identity_assign_cfm = mm_identity_assign_cfm, }; static struct dect_ops ops = { |