return -ENXIO;
*end = 0;
-
if (parse_uid(start, uid) < 0)
return -ENXIO;
#else
#include <stdbool.h>
-//#include "list.h"
-//#include "time-util.h"
#include "cgroup-util.h"
//#include "ip-address-access.h"
+//#include "list.h"
+//#include "time-util.h"
#if 0 /// UNNEEDED by elogind
typedef struct CGroupContext CGroupContext;
/* We test whether the runtime unit file directory has been
* created. This takes place in mount-setup.c, so is
* guaranteed to happen very early during boot. */
+
#if 0 /// elogind is always used without systemd running the show. (Well, it should...)
return laccess("/run/systemd/system/", F_OK) >= 0;
#else
int sd_bus_get_creds_mask(sd_bus *bus, uint64_t *creds_mask);
int sd_bus_set_allow_interactive_authorization(sd_bus *bus, int b);
int sd_bus_get_allow_interactive_authorization(sd_bus *bus);
-
int sd_bus_set_exit_on_disconnect(sd_bus *bus, int b);
int sd_bus_get_exit_on_disconnect(sd_bus *bus);
int sd_event_get_state(sd_event *e);
int sd_event_get_tid(sd_event *e, pid_t *tid);
int sd_event_get_exit_code(sd_event *e, int *code);
-
int sd_event_set_watchdog(sd_event *e, int b);
-
int sd_event_get_watchdog(sd_event *e);
-
int sd_event_get_iteration(sd_event *e, uint64_t *ret);
-
sd_event_source* sd_event_source_ref(sd_event_source *s);
-
sd_event_source* sd_event_source_unref(sd_event_source *s);
sd_event *sd_event_source_get_event(sd_event_source *s);
-
void* sd_event_source_get_userdata(sd_event_source *s);
void* sd_event_source_set_userdata(sd_event_source *s, void *userdata);
-
int sd_event_source_set_description(sd_event_source *s, const char *description);
-
int sd_event_source_get_description(sd_event_source *s, const char **description);
-
int sd_event_source_set_prepare(sd_event_source *s, sd_event_handler_t callback);
-
int sd_event_source_get_pending(sd_event_source *s);
-
int sd_event_source_get_priority(sd_event_source *s, int64_t *priority);
int sd_event_source_set_priority(sd_event_source *s, int64_t priority);
-
int sd_event_source_get_enabled(sd_event_source *s, int *enabled);
-
int sd_event_source_set_enabled(sd_event_source *s, int enabled);
-
int sd_event_source_get_io_fd(sd_event_source *s);
-
int sd_event_source_set_io_fd(sd_event_source *s, int fd);
-
int sd_event_source_get_io_events(sd_event_source *s, uint32_t* events);
-
int sd_event_source_set_io_events(sd_event_source *s, uint32_t events);
-
int sd_event_source_get_io_revents(sd_event_source *s, uint32_t* revents);
-
int sd_event_source_get_time(sd_event_source *s, uint64_t *usec);
int sd_event_source_set_time(sd_event_source *s, uint64_t usec);
-
int sd_event_source_get_time_accuracy(sd_event_source *s, uint64_t *usec);
int sd_event_source_set_time_accuracy(sd_event_source *s, uint64_t usec);
int sd_event_source_get_time_clock(sd_event_source *s, clockid_t *clock);
int sd_event_source_get_signal(sd_event_source *s);
int sd_event_source_get_child_pid(sd_event_source *s, pid_t *pid);
-
/* Define helpers so that __attribute__((cleanup(sd_event_unrefp))) and similar may be used. */
_SD_DEFINE_POINTER_CLEANUP_FUNC(sd_event, sd_event_unref);
_SD_DEFINE_POINTER_CLEANUP_FUNC(sd_event_source, sd_event_source_unref);
test_libelogind_sym_c = custom_target(
'test-libelogind-sym.c',
- input : [libelogind_sym_path] + systemd_headers,
output : 'test-libelogind-sym.c',
+ input : [libelogind_sym_path] + systemd_headers,
command : [generate_sym_test_py, libelogind_sym_path] + systemd_headers,
capture : true)
# This file is part of elogind.
#
# Copyright 2012-2013 Zbigniew Jędrzejewski-Szmek
-# Copyright 2017 Sven Eden
#
# elogind is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
<surname>Jędrzejewski-Szmek</surname>
<email>zbyszek@in.waw.pl</email>
</author>
- <author>
- <contrib>Developer</contrib>
- <firstname>Sven</firstname>
- <surname>Eden</surname>
- <email>sven.eden@gmx.de</email>
- </author>
</authorgroup>
</refentryinfo>
<refpurpose>Index of configuration directives</refpurpose>
</refnamediv>
+ <refsect1>
+ <title>Unit directives</title>
+
+ <para>Directives for configuring units, used in unit
+ files.</para>
+
+ <variablelist id='unit-directives' />
+ </refsect1>
+
+ <refsect1>
+ <title>Options on the kernel command line</title>
+
+ <para>Kernel boot options for configuring the behaviour of the
+ elogind process.</para>
+
+ <variablelist id='kernel-commandline-options' />
+ </refsect1>
+
<refsect1>
<title>Environment variables</title>
<variablelist id='environment-variables' />
</refsect1>
+ <refsect1>
+ <title>UDEV directives</title>
+
+ <para>Directives for configuring elogind units through the
+ udev database.</para>
+
+ <variablelist id='udev-directives' />
+ </refsect1>
+
+ <refsect1>
+ <title>Network directives</title>
+
+ <para>Directives for configuring network links through the
+ net-setup-link udev builtin and networks through
+ elogind-networkd.</para>
+
+ <variablelist id='network-directives' />
+ </refsect1>
+
+ <refsect1>
+ <title>Journal fields</title>
+
+ <para>Fields in the journal events with a well known meaning.</para>
+
+ <variablelist id='journal-directives' />
+ </refsect1>
+
<refsect1>
<title>PAM configuration directives</title>
<variablelist id='pam-directives' />
</refsect1>
+ <refsect1>
+ <title><filename>/etc/crypttab</filename> and
+ <filename>/etc/fstab</filename> options</title>
+
+ <para>Options which influence mounted filesystems and
+ encrypted volumes.</para>
+
+ <variablelist id='fstab-options' />
+ </refsect1>
+
+ <refsect1>
+ <title>System manager directives</title>
+
+ <para>Directives for configuring the behaviour of the
+ elogind process.</para>
+
+ <variablelist id='elogind-directives' />
+ </refsect1>
+
<refsect1>
<title>command line options</title>