aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/client.h')
-rw-r--r--xorg-server/include/client.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/xorg-server/include/client.h b/xorg-server/include/client.h
index aaafc7da6..87f2b1172 100644
--- a/xorg-server/include/client.h
+++ b/xorg-server/include/client.h
@@ -28,16 +28,16 @@
#ifdef HAVE_DIX_CONFIG_H
#include <dix-config.h>
-#endif /* HAVE_DIX_CONFIG_H */
+#endif /* HAVE_DIX_CONFIG_H */
#include <X11/Xfuncproto.h>
#include <sys/types.h>
/* Client IDs. Use GetClientPid, GetClientCmdName and GetClientCmdArgs
* instead of accessing the fields directly. */
typedef struct {
- pid_t pid; /* process ID, -1 if not available */
- const char *cmdname; /* process name, NULL if not available */
- const char *cmdargs; /* process arguments, NULL if not available */
+ pid_t pid; /* process ID, -1 if not available */
+ const char *cmdname; /* process name, NULL if not available */
+ const char *cmdargs; /* process arguments, NULL if not available */
} ClientIdRec, *ClientIdPtr;
struct _Client;
@@ -49,11 +49,12 @@ void ReleaseClientIds(struct _Client *client);
/* Determine client IDs for caching. Exported on purpose for
* extensions such as SELinux. */
extern _X_EXPORT pid_t DetermineClientPid(struct _Client *client);
-extern _X_EXPORT void DetermineClientCmd(pid_t, const char **cmdname, const char **cmdargs);
+extern _X_EXPORT void DetermineClientCmd(pid_t, const char **cmdname,
+ const char **cmdargs);
/* Query cached client IDs. Exported on purpose for drivers. */
extern _X_EXPORT pid_t GetClientPid(struct _Client *client);
extern _X_EXPORT const char *GetClientCmdName(struct _Client *client);
extern _X_EXPORT const char *GetClientCmdArgs(struct _Client *client);
-#endif /* CLIENT_H */
+#endif /* CLIENT_H */