config.h | config.h | |||
---|---|---|---|---|
/* config.h. Generated from config.h.in by configure. */ | /* config.h. Generated from config.h.in by configure. */ | |||
/* config.h.in. Generated from configure.ac by autoheader. */ | /* config.h.in. Generated from configure.ac by autoheader. */ | |||
/* Whether on mips arch */ | /* Whether on mips arch */ | |||
/* #undef ARCH_MIPS */ | /* #undef ARCH_MIPS */ | |||
/* Canonical host string. */ | /* Canonical host string. */ | |||
#define CANONICAL_HOST "i686-pc-linux-gnu" | #define CANONICAL_HOST "i686-pc-linux-gnu" | |||
/* Target Distribution */ | /* Target Distribution */ | |||
#define DISTRIBUTION "mandriva" | #define DISTRIBUTION "other" | |||
/* ACL available */ | /* ACL available */ | |||
#define HAVE_ACL 1 | #define HAVE_ACL 1 | |||
/* Define to 1 if you have the <acl/libacl.h> header file. */ | /* Define to 1 if you have the <acl/libacl.h> header file. */ | |||
#define HAVE_ACL_LIBACL_H 1 | #define HAVE_ACL_LIBACL_H 1 | |||
/* AUDIT available */ | /* AUDIT available */ | |||
#define HAVE_AUDIT 1 | #define HAVE_AUDIT 1 | |||
skipping to change at line 111 | skipping to change at line 111 | |||
/* Name of package */ | /* Name of package */ | |||
#define PACKAGE "systemd" | #define PACKAGE "systemd" | |||
/* Define to the address where bug reports for this package should be sent. */ | /* Define to the address where bug reports for this package should be sent. */ | |||
#define PACKAGE_BUGREPORT "systemd-devel@lists.freedesktop.org" | #define PACKAGE_BUGREPORT "systemd-devel@lists.freedesktop.org" | |||
/* Define to the full name of this package. */ | /* Define to the full name of this package. */ | |||
#define PACKAGE_NAME "systemd" | #define PACKAGE_NAME "systemd" | |||
/* Define to the full name and version of this package. */ | /* Define to the full name and version of this package. */ | |||
#define PACKAGE_STRING "systemd 42" | #define PACKAGE_STRING "systemd 43" | |||
/* Define to the one symbol short name of this package. */ | /* Define to the one symbol short name of this package. */ | |||
#define PACKAGE_TARNAME "systemd" | #define PACKAGE_TARNAME "systemd" | |||
/* Define to the home page for this package. */ | /* Define to the home page for this package. */ | |||
#define PACKAGE_URL "" | #define PACKAGE_URL "" | |||
/* Define to the version of this package. */ | /* Define to the version of this package. */ | |||
#define PACKAGE_VERSION "42" | #define PACKAGE_VERSION "43" | |||
/* Define to 1 if you have the ANSI C header files. */ | /* Define to 1 if you have the ANSI C header files. */ | |||
#define STDC_HEADERS 1 | #define STDC_HEADERS 1 | |||
/* Target is ALTLinux */ | /* Target is ALTLinux */ | |||
/* #undef TARGET_ALTLINUX */ | /* #undef TARGET_ALTLINUX */ | |||
/* Target is Ångström */ | /* Target is Ångström */ | |||
/* #undef TARGET_ANGSTROM */ | /* #undef TARGET_ANGSTROM */ | |||
skipping to change at line 150 | skipping to change at line 150 | |||
/* Target is Frugalware */ | /* Target is Frugalware */ | |||
/* #undef TARGET_FRUGALWARE */ | /* #undef TARGET_FRUGALWARE */ | |||
/* Target is Gentoo */ | /* Target is Gentoo */ | |||
/* #undef TARGET_GENTOO */ | /* #undef TARGET_GENTOO */ | |||
/* Target is Mageia */ | /* Target is Mageia */ | |||
/* #undef TARGET_MAGEIA */ | /* #undef TARGET_MAGEIA */ | |||
/* Target is Mandriva */ | /* Target is Mandriva */ | |||
#define TARGET_MANDRIVA /**/ | /* #undef TARGET_MANDRIVA */ | |||
/* Target is MeeGo */ | /* Target is MeeGo */ | |||
/* #undef TARGET_MEEGO */ | /* #undef TARGET_MEEGO */ | |||
/* Target is Slackware */ | /* Target is Slackware */ | |||
/* #undef TARGET_SLACKWARE */ | /* #undef TARGET_SLACKWARE */ | |||
/* Target is openSUSE/SLE */ | /* Target is openSUSE/SLE */ | |||
/* #undef TARGET_SUSE */ | /* #undef TARGET_SUSE */ | |||
skipping to change at line 189 | skipping to change at line 189 | |||
/* Enable extensions on HP NonStop. */ | /* Enable extensions on HP NonStop. */ | |||
#ifndef _TANDEM_SOURCE | #ifndef _TANDEM_SOURCE | |||
# define _TANDEM_SOURCE 1 | # define _TANDEM_SOURCE 1 | |||
#endif | #endif | |||
/* Enable general extensions on Solaris. */ | /* Enable general extensions on Solaris. */ | |||
#ifndef __EXTENSIONS__ | #ifndef __EXTENSIONS__ | |||
# define __EXTENSIONS__ 1 | # define __EXTENSIONS__ 1 | |||
#endif | #endif | |||
/* Version number of package */ | /* Version number of package */ | |||
#define VERSION "42" | #define VERSION "43" | |||
/* Number of bits in a file offset, on hosts where this is settable. */ | /* Number of bits in a file offset, on hosts where this is settable. */ | |||
#define _FILE_OFFSET_BITS 64 | #define _FILE_OFFSET_BITS 64 | |||
/* Define for large files, on AIX-style hosts. */ | /* Define for large files, on AIX-style hosts. */ | |||
/* #undef _LARGE_FILES */ | /* #undef _LARGE_FILES */ | |||
/* Define to 1 if on MINIX. */ | /* Define to 1 if on MINIX. */ | |||
/* #undef _MINIX */ | /* #undef _MINIX */ | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
logind-session.h | logind-session.h | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
#include "logind-user.h" | #include "logind-user.h" | |||
typedef enum SessionType { | typedef enum SessionType { | |||
SESSION_UNSPECIFIED, | SESSION_UNSPECIFIED, | |||
SESSION_TTY, | SESSION_TTY, | |||
SESSION_X11, | SESSION_X11, | |||
_SESSION_TYPE_MAX, | _SESSION_TYPE_MAX, | |||
_SESSION_TYPE_INVALID = -1 | _SESSION_TYPE_INVALID = -1 | |||
} SessionType; | } SessionType; | |||
typedef enum SessionClass { | ||||
SESSION_USER, | ||||
SESSION_GREETER, | ||||
SESSION_LOCK_SCREEN, | ||||
_SESSION_CLASS_MAX, | ||||
_SESSION_CLASS_INVALID = -1 | ||||
} SessionClass; | ||||
typedef enum KillWho { | typedef enum KillWho { | |||
KILL_LEADER, | KILL_LEADER, | |||
KILL_ALL, | KILL_ALL, | |||
_KILL_WHO_MAX, | _KILL_WHO_MAX, | |||
_KILL_WHO_INVALID = -1 | _KILL_WHO_INVALID = -1 | |||
} KillWho; | } KillWho; | |||
struct Session { | struct Session { | |||
Manager *manager; | Manager *manager; | |||
char *id; | char *id; | |||
SessionType type; | SessionType type; | |||
SessionClass class; | ||||
char *state_file; | char *state_file; | |||
User *user; | User *user; | |||
dual_timestamp timestamp; | dual_timestamp timestamp; | |||
char *tty; | char *tty; | |||
char *display; | char *display; | |||
skipping to change at line 121 | skipping to change at line 130 | |||
extern const DBusObjectPathVTable bus_session_vtable; | extern const DBusObjectPathVTable bus_session_vtable; | |||
int session_send_signal(Session *s, bool new_session); | int session_send_signal(Session *s, bool new_session); | |||
int session_send_changed(Session *s, const char *properties); | int session_send_changed(Session *s, const char *properties); | |||
int session_send_lock(Session *s, bool lock); | int session_send_lock(Session *s, bool lock); | |||
const char* session_type_to_string(SessionType t); | const char* session_type_to_string(SessionType t); | |||
SessionType session_type_from_string(const char *s); | SessionType session_type_from_string(const char *s); | |||
const char* session_class_to_string(SessionClass t); | ||||
SessionClass session_class_from_string(const char *s); | ||||
const char *kill_who_to_string(KillWho k); | const char *kill_who_to_string(KillWho k); | |||
KillWho kill_who_from_string(const char *s); | KillWho kill_who_from_string(const char *s); | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
0 lines changed or deleted | 12 lines changed or added | |||
sd-daemon.h | sd-daemon.h | |||
---|---|---|---|---|
skipping to change at line 61 | skipping to change at line 61 | |||
You may compile this with -DDISABLE_SYSTEMD to disable systemd | You may compile this with -DDISABLE_SYSTEMD to disable systemd | |||
support. This makes all those calls NOPs that are directly related to | support. This makes all those calls NOPs that are directly related to | |||
systemd (i.e. only sd_is_xxx() will stay useful). | systemd (i.e. only sd_is_xxx() will stay useful). | |||
Since this is drop-in code we don't want any of our symbols to be | Since this is drop-in code we don't want any of our symbols to be | |||
exported in any case. Hence we declare hidden visibility for all of | exported in any case. Hence we declare hidden visibility for all of | |||
them. | them. | |||
You may find an up-to-date version of these source files online: | You may find an up-to-date version of these source files online: | |||
http://cgit.freedesktop.org/systemd/plain/src/systemd/sd-daemon.h | http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h | |||
http://cgit.freedesktop.org/systemd/plain/src/sd-daemon.c | http://cgit.freedesktop.org/systemd/systemd/plain/src/sd-daemon.c | |||
This should compile on non-Linux systems, too, but with the | This should compile on non-Linux systems, too, but with the | |||
exception of the sd_is_xxx() calls all functions will become NOPs. | exception of the sd_is_xxx() calls all functions will become NOPs. | |||
See sd-daemon(7) for more information. | See sd-daemon(7) for more information. | |||
*/ | */ | |||
#ifndef _sd_printf_attr_ | #ifndef _sd_printf_attr_ | |||
#if __GNUC__ >= 4 | #if __GNUC__ >= 4 | |||
#define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) | #define _sd_printf_attr_(a,b) __attribute__ ((format (printf, a, b))) | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
sd-login.h | sd-login.h | |||
---|---|---|---|---|
skipping to change at line 93 | skipping to change at line 93 | |||
/* Determine user id of session */ | /* Determine user id of session */ | |||
int sd_session_get_uid(const char *session, uid_t *uid); | int sd_session_get_uid(const char *session, uid_t *uid); | |||
/* Determine seat of session */ | /* Determine seat of session */ | |||
int sd_session_get_seat(const char *session, char **seat); | int sd_session_get_seat(const char *session, char **seat); | |||
/* Determine the (PAM) service name this session was registered by. */ | /* Determine the (PAM) service name this session was registered by. */ | |||
int sd_session_get_service(const char *session, char **service); | int sd_session_get_service(const char *session, char **service); | |||
/* Determine the type of this session, i.e. one of "tty", "x11" or "unspeci | ||||
fied". */ | ||||
int sd_session_get_type(const char *session, char **type); | ||||
/* Determine the class of this session, i.e. one of "user", "greeter" or "l | ||||
ock-screen". */ | ||||
int sd_session_get_class(const char *session, char **class); | ||||
/* Determine the X11 display of this session. */ | ||||
int sd_session_get_display(const char *session, char **display); | ||||
/* Return active session and user of seat */ | /* Return active session and user of seat */ | |||
int sd_seat_get_active(const char *seat, char **session, uid_t *uid); | int sd_seat_get_active(const char *seat, char **session, uid_t *uid); | |||
/* Return sessions and users on seat. Returns number of sessions as | /* Return sessions and users on seat. Returns number of sessions as | |||
* return value. If sessions is NULL returns only the number of | * return value. If sessions is NULL returns only the number of | |||
* sessions. */ | * sessions. */ | |||
int sd_seat_get_sessions(const char *seat, char ***sessions, uid_t **uid, u nsigned *n_uids); | int sd_seat_get_sessions(const char *seat, char ***sessions, uid_t **uid, u nsigned *n_uids); | |||
/* Return whether the seat is multi-session capable */ | /* Return whether the seat is multi-session capable */ | |||
int sd_seat_can_multi_session(const char *seat); | int sd_seat_can_multi_session(const char *seat); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added | |||
sd-readahead.h | sd-readahead.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
You may compile this with -DDISABLE_SYSTEMD to disable systemd | You may compile this with -DDISABLE_SYSTEMD to disable systemd | |||
support. This makes all calls NOPs. | support. This makes all calls NOPs. | |||
Since this is drop-in code we don't want any of our symbols to be | Since this is drop-in code we don't want any of our symbols to be | |||
exported in any case. Hence we declare hidden visibility for all of | exported in any case. Hence we declare hidden visibility for all of | |||
them. | them. | |||
You may find an up-to-date version of these source files online: | You may find an up-to-date version of these source files online: | |||
http://cgit.freedesktop.org/systemd/plain/src/systemd/sd-readahead.h | http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-readahea | |||
http://cgit.freedesktop.org/systemd/plain/src/readahead/sd-readahead.c | d.h | |||
http://cgit.freedesktop.org/systemd/systemd/plain/src/readahead/sd-readah | ||||
ead.c | ||||
This should compile on non-Linux systems, too, but all functions | This should compile on non-Linux systems, too, but all functions | |||
will become NOPs. | will become NOPs. | |||
See sd-readahead(7) for more information. | See sd-readahead(7) for more information. | |||
*/ | */ | |||
/* | /* | |||
Controls ongoing disk read-ahead operations during boot-up. The argument | Controls ongoing disk read-ahead operations during boot-up. The argument | |||
must be a string, and either "cancel", "done" or "noreplay". | must be a string, and either "cancel", "done" or "noreplay". | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 4 lines changed or added | |||