~nikwen/account-polld/imap-mails

« back to all changes in this revision

Viewing changes to accounts/accounts.c

  • Committer: Niklas Wenzel
  • Date: 2016-02-07 20:49:29 UTC
  • Revision ID: nikwen.developer@gmail.com-20160207204929-7usowesbgw3nlj0a
More general way of handling auth data

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
        void (*unused)(void *watcher,
14
14
                       unsigned int account_id, char *service_name,
15
15
                       GError *error, int enabled, char *auth_method,
16
 
                       char **auth_data, uint auth_data_length,
17
 
                       void *user_data) = authCallback;
 
16
                       char **auth_data_keys, char **auth_data_values,
 
17
                       uint auth_data_length, void *user_data) = authCallback;
18
18
    }
19
19
 
20
20
    AccountWatcher *watcher = account_watcher_new(