| config.h | | config.h | |
| | | | |
| skipping to change at line 250 | | skipping to change at line 250 | |
| /* 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 "http://bugs.freedesktop.org/enter_bug.cgi?produc
t=systemd" | | #define PACKAGE_BUGREPORT "http://bugs.freedesktop.org/enter_bug.cgi?produc
t=systemd" | |
| | | | |
| /* 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 203" | | #define PACKAGE_STRING "systemd 204" | |
| | | | |
| /* 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 "http://www.freedesktop.org/wiki/Software/systemd" | | #define PACKAGE_URL "http://www.freedesktop.org/wiki/Software/systemd" | |
| | | | |
| /* Define to the version of this package. */ | | /* Define to the version of this package. */ | |
|
| #define PACKAGE_VERSION "203" | | #define PACKAGE_VERSION "204" | |
| | | | |
| /* Path of /etc/rc.local script */ | | /* Path of /etc/rc.local script */ | |
| #define RC_LOCAL_SCRIPT_PATH_START "/etc/rc.local" | | #define RC_LOCAL_SCRIPT_PATH_START "/etc/rc.local" | |
| | | | |
| /* Path of /usr/sbin/halt.local script */ | | /* Path of /usr/sbin/halt.local script */ | |
| #define RC_LOCAL_SCRIPT_PATH_STOP "/usr/sbin/halt.local" | | #define RC_LOCAL_SCRIPT_PATH_STOP "/usr/sbin/halt.local" | |
| | | | |
| /* Define to the type of arg 1 for `select'. */ | | /* Define to the type of arg 1 for `select'. */ | |
| #define SELECT_TYPE_ARG1 int | | #define SELECT_TYPE_ARG1 int | |
| | | | |
| | | | |
| skipping to change at line 310 | | skipping to change at line 310 | |
| /* 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 "203" | | #define VERSION "204" | |
| | | | |
| /* Enable large inode numbers on Mac OS X 10.5. */ | | /* Enable large inode numbers on Mac OS X 10.5. */ | |
| #ifndef _DARWIN_USE_64_BIT_INODE | | #ifndef _DARWIN_USE_64_BIT_INODE | |
| # define _DARWIN_USE_64_BIT_INODE 1 | | # define _DARWIN_USE_64_BIT_INODE 1 | |
| #endif | | #endif | |
| | | | |
| /* 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. */ | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| hashmap.h | | hashmap.h | |
| | | | |
| skipping to change at line 46 | | skipping to change at line 46 | |
| | | | |
| #define ITERATOR_FIRST ((Iterator) 0) | | #define ITERATOR_FIRST ((Iterator) 0) | |
| #define ITERATOR_LAST ((Iterator) -1) | | #define ITERATOR_LAST ((Iterator) -1) | |
| | | | |
| typedef unsigned (*hash_func_t)(const void *p); | | typedef unsigned (*hash_func_t)(const void *p); | |
| typedef int (*compare_func_t)(const void *a, const void *b); | | typedef int (*compare_func_t)(const void *a, const void *b); | |
| | | | |
| unsigned string_hash_func(const void *p) _pure_; | | unsigned string_hash_func(const void *p) _pure_; | |
| int string_compare_func(const void *a, const void *b) _pure_; | | int string_compare_func(const void *a, const void *b) _pure_; | |
| | | | |
|
| | | /* This will compare the passed pointers directly, and will not | |
| | | * dereference them. This is hence not useful for strings or | |
| | | * suchlike. */ | |
| unsigned trivial_hash_func(const void *p) _const_; | | unsigned trivial_hash_func(const void *p) _const_; | |
| int trivial_compare_func(const void *a, const void *b) _const_; | | int trivial_compare_func(const void *a, const void *b) _const_; | |
| | | | |
| unsigned uint64_hash_func(const void *p) _pure_; | | unsigned uint64_hash_func(const void *p) _pure_; | |
| int uint64_compare_func(const void *a, const void *b) _pure_; | | int uint64_compare_func(const void *a, const void *b) _pure_; | |
| | | | |
| Hashmap *hashmap_new(hash_func_t hash_func, compare_func_t compare_func); | | Hashmap *hashmap_new(hash_func_t hash_func, compare_func_t compare_func); | |
| void hashmap_free(Hashmap *h); | | void hashmap_free(Hashmap *h); | |
| void hashmap_free_free(Hashmap *h); | | void hashmap_free_free(Hashmap *h); | |
| void hashmap_free_free_free(Hashmap *h); | | void hashmap_free_free_free(Hashmap *h); | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|
| pyutil.h | | pyutil.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| You should have received a copy of the GNU Lesser General Public License | | You should have received a copy of the GNU Lesser General Public License | |
| along with systemd; If not, see <http://www.gnu.org/licenses/>. | | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
| ***/ | | ***/ | |
| | | | |
| #ifndef Py_TYPE | | #ifndef Py_TYPE | |
| /* avoid duplication warnings from errors in Python 2.7 headers */ | | /* avoid duplication warnings from errors in Python 2.7 headers */ | |
| # include <Python.h> | | # include <Python.h> | |
| #endif | | #endif | |
| | | | |
| void cleanup_Py_DECREFp(PyObject **p); | | void cleanup_Py_DECREFp(PyObject **p); | |
|
| | | PyObject* absolute_timeout(uint64_t t); | |
| | | | |
| #define _cleanup_Py_DECREF_ __attribute__((cleanup(cleanup_Py_DECREFp))) | | #define _cleanup_Py_DECREF_ __attribute__((cleanup(cleanup_Py_DECREFp))) | |
| | | | |
| #if PY_MAJOR_VERSION >=3 | | #if PY_MAJOR_VERSION >=3 | |
| # define unicode_FromStringAndSize PyUnicode_FromStringAndSize | | # define unicode_FromStringAndSize PyUnicode_FromStringAndSize | |
| # define unicode_FromString PyUnicode_FromString | | # define unicode_FromString PyUnicode_FromString | |
| # define long_FromLong PyLong_FromLong | | # define long_FromLong PyLong_FromLong | |
| # define long_FromSize_t PyLong_FromSize_t | | # define long_FromSize_t PyLong_FromSize_t | |
| # define long_Check PyLong_Check | | # define long_Check PyLong_Check | |
| # define long_AsLong PyLong_AsLong | | # define long_AsLong PyLong_AsLong | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 1 lines changed or added | |
|
| socket.h | | socket.h | |
| | | | |
| skipping to change at line 133 | | skipping to change at line 133 | |
| | | | |
| bool accept; | | bool accept; | |
| | | | |
| /* Socket options */ | | /* Socket options */ | |
| bool keep_alive; | | bool keep_alive; | |
| bool free_bind; | | bool free_bind; | |
| bool transparent; | | bool transparent; | |
| bool broadcast; | | bool broadcast; | |
| bool pass_cred; | | bool pass_cred; | |
| bool pass_sec; | | bool pass_sec; | |
|
| | | | |
| | | /* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */ | |
| | | SocketAddressBindIPv6Only bind_ipv6_only; | |
| | | | |
| int priority; | | int priority; | |
| int mark; | | int mark; | |
| size_t receive_buffer; | | size_t receive_buffer; | |
| size_t send_buffer; | | size_t send_buffer; | |
| int ip_tos; | | int ip_tos; | |
| int ip_ttl; | | int ip_ttl; | |
| size_t pipe_size; | | size_t pipe_size; | |
| char *bind_to_device; | | char *bind_to_device; | |
| char *tcp_congestion; | | char *tcp_congestion; | |
| long mq_maxmsg; | | long mq_maxmsg; | |
| long mq_msgsize; | | long mq_msgsize; | |
| | | | |
|
| /* Only for INET6 sockets: issue IPV6_V6ONLY sockopt */ | | | |
| SocketAddressBindIPv6Only bind_ipv6_only; | | | |
| | | | |
| char *smack; | | char *smack; | |
| char *smack_ip_in; | | char *smack_ip_in; | |
| char *smack_ip_out; | | char *smack_ip_out; | |
| }; | | }; | |
| | | | |
| /* Called from the service code when collecting fds */ | | /* Called from the service code when collecting fds */ | |
| int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds); | | int socket_collect_fds(Socket *s, int **fds, unsigned *n_fds); | |
| | | | |
| /* Called from the service when it shut down */ | | /* Called from the service when it shut down */ | |
| void socket_notify_service_dead(Socket *s, bool failed_permanent); | | void socket_notify_service_dead(Socket *s, bool failed_permanent); | |
| | | | |
End of changes. 2 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| util.h | | util.h | |
| | | | |
| skipping to change at line 414 | | skipping to change at line 414 | |
| | | | |
| void execute_directory(const char *directory, DIR *_d, char *argv[]); | | void execute_directory(const char *directory, DIR *_d, char *argv[]); | |
| | | | |
| int kill_and_sigcont(pid_t pid, int sig); | | int kill_and_sigcont(pid_t pid, int sig); | |
| | | | |
| bool nulstr_contains(const char*nulstr, const char *needle); | | bool nulstr_contains(const char*nulstr, const char *needle); | |
| | | | |
| bool plymouth_running(void); | | bool plymouth_running(void); | |
| | | | |
| bool hostname_is_valid(const char *s) _pure_; | | bool hostname_is_valid(const char *s) _pure_; | |
|
| char* hostname_cleanup(char *s); | | char* hostname_cleanup(char *s, bool lowercase); | |
| | | | |
| char* strshorten(char *s, size_t l); | | char* strshorten(char *s, size_t l); | |
| | | | |
| int terminal_vhangup_fd(int fd); | | int terminal_vhangup_fd(int fd); | |
| int terminal_vhangup(const char *name); | | int terminal_vhangup(const char *name); | |
| | | | |
| int vt_disallocate(const char *name); | | int vt_disallocate(const char *name); | |
| | | | |
| int copy_file(const char *from, const char *to); | | int copy_file(const char *from, const char *to); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|