On 06/24/2015 11:06 AM, Jakub Hrozek wrote:
On Wed, Jun 24, 2015 at 10:55:05AM +0200, Jakub Hrozek wrote:
>> +errno_t
>> +sysdb_set_last_online_auth_with_curr_token(struct sss_domain_info *domain,
>> + const char *username,
>> + uint64_t value);
> Since set_last_login() sets the attribute directly, can we make this
> function static?
btw if you'd like to keep the function tested, then moving the
declaration to sysdb_private.h would work as well I guess.
IIRC this function is
mainly not static because I needed it for testing
of 'sysdb_get_last_online_auth_with_curr_token()' but I agree that
moving it to sysdb_private.h is a good idea.
Thanks!
_______________________________________________
sssd-devel mailing list
sssd-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel