| config.h | | config.h | |
| | | | |
| 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 41" | | #define PACKAGE_STRING "systemd 42" | |
| | | | |
| /* 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 "41" | | #define PACKAGE_VERSION "42" | |
| | | | |
| /* 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 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 "41" | | #define VERSION "42" | |
| | | | |
| /* 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. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| load-fragment.h | | load-fragment.h | |
| | | | |
| skipping to change at line 79 | | skipping to change at line 79 | |
| int config_parse_path_unit(const char *filename, unsigned line, const char
*section, const char *lvalue, int ltype, const char *rvalue, void *data, vo
id *userdata); | | int config_parse_path_unit(const char *filename, unsigned line, const char
*section, const char *lvalue, int ltype, const char *rvalue, void *data, vo
id *userdata); | |
| int config_parse_socket_service(const char *filename, unsigned line, const
char *section, const char *lvalue, int ltype, const char *rvalue, void *dat
a, void *userdata); | | int config_parse_socket_service(const char *filename, unsigned line, const
char *section, const char *lvalue, int ltype, const char *rvalue, void *dat
a, void *userdata); | |
| int config_parse_service_sockets(const char *filename, unsigned line, const
char *section, const char *lvalue, int ltype, const char *rvalue, void *da
ta, void *userdata); | | int config_parse_service_sockets(const char *filename, unsigned line, const
char *section, const char *lvalue, int ltype, const char *rvalue, void *da
ta, void *userdata); | |
| int config_parse_unit_env_file(const char *filename, unsigned line, const c
har *section, const char *lvalue, int ltype, const char *rvalue, void *data
, void *userdata); | | int config_parse_unit_env_file(const char *filename, unsigned line, const c
har *section, const char *lvalue, int ltype, const char *rvalue, void *data
, void *userdata); | |
| int config_parse_ip_tos(const char *filename, unsigned line, const char *se
ction, const char *lvalue, int ltype, const char *rvalue, void *data, void
*userdata); | | int config_parse_ip_tos(const char *filename, unsigned line, const char *se
ction, const char *lvalue, int ltype, const char *rvalue, void *data, void
*userdata); | |
| int config_parse_unit_condition_path(const char *filename, unsigned line, c
onst char *section, const char *lvalue, int ltype, const char *rvalue, void
*data, void *userdata); | | int config_parse_unit_condition_path(const char *filename, unsigned line, c
onst char *section, const char *lvalue, int ltype, const char *rvalue, void
*data, void *userdata); | |
| int config_parse_unit_condition_string(const char *filename, unsigned line,
const char *section, const char *lvalue, int ltype, const char *rvalue, vo
id *data, void *userdata); | | int config_parse_unit_condition_string(const char *filename, unsigned line,
const char *section, const char *lvalue, int ltype, const char *rvalue, vo
id *data, void *userdata); | |
| int config_parse_unit_condition_null(const char *filename, unsigned line, c
onst char *section, const char *lvalue, int ltype, const char *rvalue, void
*data, void *userdata); | | int config_parse_unit_condition_null(const char *filename, unsigned line, c
onst char *section, const char *lvalue, int ltype, const char *rvalue, void
*data, void *userdata); | |
| int config_parse_kill_mode(const char *filename, unsigned line, const char
*section, const char *lvalue, int ltype, const char *rvalue, void *data, vo
id *userdata); | | int config_parse_kill_mode(const char *filename, unsigned line, const char
*section, const char *lvalue, int ltype, const char *rvalue, void *data, vo
id *userdata); | |
| int config_parse_notify_access(const char *filename, unsigned line, const c
har *section, const char *lvalue, int ltype, const char *rvalue, void *data
, void *userdata); | | int config_parse_notify_access(const char *filename, unsigned line, const c
har *section, const char *lvalue, int ltype, const char *rvalue, void *data
, void *userdata); | |
|
| | | int config_parse_start_limit_action(const char *filename, unsigned line, co
nst char *section, const char *lvalue, int ltype, const char *rvalue, void
*data, void *userdata); | |
| int config_parse_unit_cgroup_attr(const char *filename, unsigned line, cons
t char *section, const char *lvalue, int ltype, const char *rvalue, void *d
ata, void *userdata); | | int config_parse_unit_cgroup_attr(const char *filename, unsigned line, cons
t char *section, const char *lvalue, int ltype, const char *rvalue, void *d
ata, void *userdata); | |
| int config_parse_unit_cpu_shares(const char *filename, unsigned line, const
char *section, const char *lvalue, int ltype, const char *rvalue, void *da
ta, void *userdata); | | int config_parse_unit_cpu_shares(const char *filename, unsigned line, const
char *section, const char *lvalue, int ltype, const char *rvalue, void *da
ta, void *userdata); | |
| int config_parse_unit_memory_limit(const char *filename, unsigned line, con
st char *section, const char *lvalue, int ltype, const char *rvalue, void *
data, void *userdata); | | int config_parse_unit_memory_limit(const char *filename, unsigned line, con
st char *section, const char *lvalue, int ltype, const char *rvalue, void *
data, void *userdata); | |
| int config_parse_unit_device_allow(const char *filename, unsigned line, con
st char *section, const char *lvalue, int ltype, const char *rvalue, void *
data, void *userdata); | | int config_parse_unit_device_allow(const char *filename, unsigned line, con
st char *section, const char *lvalue, int ltype, const char *rvalue, void *
data, void *userdata); | |
| int config_parse_unit_blkio_weight(const char *filename, unsigned line, con
st char *section, const char *lvalue, int ltype, const char *rvalue, void *
data, void *userdata); | | int config_parse_unit_blkio_weight(const char *filename, unsigned line, con
st char *section, const char *lvalue, int ltype, const char *rvalue, void *
data, void *userdata); | |
| int config_parse_unit_blkio_bandwidth(const char *filename, unsigned line,
const char *section, const char *lvalue, int ltype, const char *rvalue, voi
d *data, void *userdata); | | int config_parse_unit_blkio_bandwidth(const char *filename, unsigned line,
const char *section, const char *lvalue, int ltype, const char *rvalue, voi
d *data, void *userdata); | |
| | | | |
| /* gperf prototypes */ | | /* gperf prototypes */ | |
| const struct ConfigPerfItem* load_fragment_gperf_lookup(const char *key, un
signed length); | | const struct ConfigPerfItem* load_fragment_gperf_lookup(const char *key, un
signed length); | |
| extern const char load_fragment_gperf_nulstr[]; | | extern const char load_fragment_gperf_nulstr[]; | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 1 lines changed or added | |
|
| service.h | | service.h | |
| | | | |
| skipping to change at line 103 | | skipping to change at line 103 | |
| SERVICE_FAILURE_RESOURCES, | | SERVICE_FAILURE_RESOURCES, | |
| SERVICE_FAILURE_TIMEOUT, | | SERVICE_FAILURE_TIMEOUT, | |
| SERVICE_FAILURE_EXIT_CODE, | | SERVICE_FAILURE_EXIT_CODE, | |
| SERVICE_FAILURE_SIGNAL, | | SERVICE_FAILURE_SIGNAL, | |
| SERVICE_FAILURE_CORE_DUMP, | | SERVICE_FAILURE_CORE_DUMP, | |
| SERVICE_FAILURE_WATCHDOG, | | SERVICE_FAILURE_WATCHDOG, | |
| _SERVICE_RESULT_MAX, | | _SERVICE_RESULT_MAX, | |
| _SERVICE_RESULT_INVALID = -1 | | _SERVICE_RESULT_INVALID = -1 | |
| } ServiceResult; | | } ServiceResult; | |
| | | | |
|
| | | typedef enum StartLimitAction { | |
| | | SERVICE_START_LIMIT_NONE, | |
| | | SERVICE_START_LIMIT_REBOOT, | |
| | | SERVICE_START_LIMIT_REBOOT_FORCE, | |
| | | SERVICE_START_LIMIT_REBOOT_IMMEDIATE, | |
| | | _SERVICE_START_LIMIT_MAX, | |
| | | _SERVICE_START_LIMIT_INVALID = -1 | |
| | | } StartLimitAction; | |
| | | | |
| struct Service { | | struct Service { | |
| Unit meta; | | Unit meta; | |
| | | | |
| ServiceType type; | | ServiceType type; | |
| ServiceRestart restart; | | ServiceRestart restart; | |
| | | | |
| /* If set we'll read the main daemon PID from this file */ | | /* If set we'll read the main daemon PID from this file */ | |
| char *pid_file; | | char *pid_file; | |
| | | | |
| usec_t restart_usec; | | usec_t restart_usec; | |
| | | | |
| skipping to change at line 172 | | skipping to change at line 181 | |
| | | | |
| char *sysv_path; | | char *sysv_path; | |
| char *sysv_runlevels; | | char *sysv_runlevels; | |
| usec_t sysv_mtime; | | usec_t sysv_mtime; | |
| #endif | | #endif | |
| | | | |
| char *bus_name; | | char *bus_name; | |
| | | | |
| char *status_text; | | char *status_text; | |
| | | | |
|
| RateLimit ratelimit; | | RateLimit start_limit; | |
| | | StartLimitAction start_limit_action; | |
| | | | |
| UnitRef accept_socket; | | UnitRef accept_socket; | |
| | | | |
| Watch timer_watch; | | Watch timer_watch; | |
| PathSpec *pid_file_pathspec; | | PathSpec *pid_file_pathspec; | |
| | | | |
| NotifyAccess notify_access; | | NotifyAccess notify_access; | |
| }; | | }; | |
| | | | |
| extern const UnitVTable service_vtable; | | extern const UnitVTable service_vtable; | |
| | | | |
| skipping to change at line 206 | | skipping to change at line 216 | |
| | | | |
| const char* service_exec_command_to_string(ServiceExecCommand i); | | const char* service_exec_command_to_string(ServiceExecCommand i); | |
| ServiceExecCommand service_exec_command_from_string(const char *s); | | ServiceExecCommand service_exec_command_from_string(const char *s); | |
| | | | |
| const char* notify_access_to_string(NotifyAccess i); | | const char* notify_access_to_string(NotifyAccess i); | |
| NotifyAccess notify_access_from_string(const char *s); | | NotifyAccess notify_access_from_string(const char *s); | |
| | | | |
| const char* service_result_to_string(ServiceResult i); | | const char* service_result_to_string(ServiceResult i); | |
| ServiceResult service_result_from_string(const char *s); | | ServiceResult service_result_from_string(const char *s); | |
| | | | |
|
| | | const char* start_limit_action_to_string(StartLimitAction i); | |
| | | StartLimitAction start_limit_action_from_string(const char *s); | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 14 lines changed or added | |
|