~azzar1/snapd-glib-fork/glib-2-40

« back to all changes in this revision

Viewing changes to snapd-glib/snapd-client.h

  • Committer: Robert Ancell
  • Date: 2016-09-03 00:19:19 UTC
  • Revision ID: git-v1:3549ad97b8ba19492eb26b92807d41678550a72d
Make snapd_client_login consistent with snapd_login (since we added snapd_login_service and this is not the normal case anymore)

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
                                                                    GCancellable         *cancellable,
76
76
                                                                    GError              **error);
77
77
 
78
 
gboolean                snapd_client_login_sync                    (SnapdClient          *client,
 
78
SnapdAuthData          *snapd_client_login_sync                    (SnapdClient          *client,
79
79
                                                                    const gchar          *username,
80
80
                                                                    const gchar          *password,
81
81
                                                                    const gchar          *otp,
88
88
                                                                    GCancellable         *cancellable,
89
89
                                                                    GAsyncReadyCallback   callback,
90
90
                                                                    gpointer              user_data);
91
 
gboolean                snapd_client_login_finish                  (SnapdClient          *client,
 
91
SnapdAuthData         *snapd_client_login_finish                  (SnapdClient          *client,
92
92
                                                                    GAsyncResult         *result,
93
93
                                                                    GError              **error);
94
94