[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: authentication on init for smsd
From: |
Pawel Kot |
Subject: |
Re: authentication on init for smsd |
Date: |
Mon, 26 Dec 2011 21:57:28 +0100 |
Hi,
On Thu, Dec 22, 2011 at 19:13, Pawel Kot <address@hidden> wrote:
> Hi,
>
> On Thu, Dec 22, 2011 at 18:06, Pawel Kot <address@hidden> wrote:
>> typedef gn_error (*gn_auth_interactive_func_t)(gn_data *data, struct
>> gn_statemachine *state);
>
> data argument will be removed from here. Global data is not relevant
> for authentication process.
So after talking to Daniele it is changed again. And I think it will
be the final one.
/*
* data->security_code->type contains the type of the security code to
be entered.
* You need to put the code into data->security_code->code and return
GN_ERR_NONE.
* If any other return code will be returned the authentication
information won't be
* sent to the phone.
*/
typedef gn_error (*gn_auth_interactive_func_t)(gn_data *data, struct
gn_statemachine *state);
And then:
GNOKII_API void
gn_auth_interactive_register(gn_auth_interactive_func_t auth_func,
struct gn_statemachine *state);
take care,
--
Pawel Kot