summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-06-16 18:50:09 +0200
committerkotontrion <[email protected]>2024-06-16 18:50:09 +0200
commitb35a38aa93670f6be06202f2ad3066a227f0a1b9 (patch)
tree1c51be4ed5c53202d11017508b5604b39db4ffef /include
parent33b3b60ee513ce2d313ce31c292afc114a110eb3 (diff)
fix code style
Diffstat (limited to 'include')
-rw-r--r--include/auth.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/include/auth.h b/include/auth.h
index 9224dde..e1f4b3d 100644
--- a/include/auth.h
+++ b/include/auth.h
@@ -1,14 +1,14 @@
#ifndef ASTAL_AUTH_PAM_H
#define ASTAL_AUTH_PAM_H
-#include <glib-object.h>
#include <gio/gio.h>
+#include <glib-object.h>
G_BEGIN_DECLS
#define ASTAL_AUTH_TYPE_PAM (astal_auth_pam_get_type())
-G_DECLARE_FINAL_TYPE (AstalAuthPam, astal_auth_pam, ASTAL_AUTH, PAM, GObject)
+G_DECLARE_FINAL_TYPE(AstalAuthPam, astal_auth_pam, ASTAL_AUTH, PAM, GObject)
/**
* astal_auth_pam_set_username
@@ -60,7 +60,6 @@ void astal_auth_pam_set_service(AstalAuthPam *self, const gchar *service);
*/
const gchar *astal_auth_pam_get_service(AstalAuthPam *self);
-
/**
* astal_auth_pam_start_authentication:
* @self: a AstalAuthPam Object
@@ -88,15 +87,14 @@ void astal_auth_pam_supply_secret(AstalAuthPam *self, const gchar *secret);
* to call when the request is satisfied
* @user_data: the data to pass to callback function
*
- * Requests authentication of the provided password using the PAM (Pluggable Authentication Modules) system.
+ * Requests authentication of the provided password using the PAM (Pluggable Authentication Modules)
+ * system.
*/
-gboolean astal_auth_pam_authenticate(const gchar *password,
- GAsyncReadyCallback result_callback,
+gboolean astal_auth_pam_authenticate(const gchar *password, GAsyncReadyCallback result_callback,
gpointer user_data);
-gssize astal_auth_pam_authenticate_finish(GAsyncResult *res,
- GError **error);
+gssize astal_auth_pam_authenticate_finish(GAsyncResult *res, GError **error);
G_END_DECLS
-#endif // !ASTAL_AUTH_PAM_H
+#endif // !ASTAL_AUTH_PAM_H