Lennart Poettering
cb367b1785
Merge pull request #12518 from keszybz/naming-scheme
...
Document our naming schemes properly
2019-05-10 15:14:59 -04:00
Zbigniew Jędrzejewski-Szmek
aa7585fd8e
sd-event: add sd_event_source_disable_unrefp() too
...
I do not have any immediate use for it, but let's add it for completeness.
2019-05-10 16:55:37 +02:00
Zbigniew Jędrzejewski-Szmek
afd15bbb4b
sd-event: add sd_event_source_disable_unref() helper
2019-05-10 16:55:35 +02:00
Zbigniew Jędrzejewski-Szmek
0b1e5b6ed8
man: describe naming schemes in a new man page
...
I decided to make this a separate man page because it is freakin' long.
This content could equally well go in systemd-udevd.service(8), systemd.link(5),
or a new man page for the net_id builtin.
v2:
- rename to systemd.net-naming-scheme
- add udevadm test-builtin net_id example
2019-05-10 10:24:03 +02:00
Zbigniew Jędrzejewski-Szmek
afb9c0c958
man: document sd_bus_add_{object,fallback}_vtable
...
The interface provided by those two functions is huge, so this text could
probably be made two or three times as long if all details were described.
But I think it's a good start.
2019-04-23 22:58:51 +02:00
Lennart Poettering
03abeb0baf
Merge pull request #12267 from keszybz/udev-settle-warning
...
Udev settle warning
2019-04-11 19:01:03 +02:00
Zbigniew Jędrzejewski-Szmek
18a3882250
man: add a page for systemd-udev-settle.service
2019-04-10 10:12:43 +02:00
Zbigniew Jędrzejewski-Szmek
38df8d3f52
sd-id128: expose ID128_UUID_FORMAT_STR
...
It is generally useful, and can be made public in the same manner that
SD_ID128_FORMAT_STR is.
2019-04-05 13:47:54 +02:00
Zbigniew Jędrzejewski-Szmek
2dfdf9c4b2
man: create .so links for sd_bus_close_{unref,unrefp}
...
Follow-up for bd62b74486
.
2019-02-28 13:10:08 +01:00
Lennart Poettering
ffd1a3f688
man: substantially update the docs regarding hooking sd-bus objects up with external event loops
...
Prompted by https://lists.freedesktop.org/archives/systemd-devel/2018-December/041817.html
This also drops all references to select() from our manpages. It's 2018
after all, people should use poll(), or ppoll() or epoll().
2018-12-13 22:33:47 +01:00
Lennart Poettering
565f3d91a2
man: document systemd-run-generator
2018-11-27 09:44:40 +01:00
Zbigniew Jędrzejewski-Szmek
15e9a42074
Merge pull request #10306 from poettering/nspawn-ref-unref
...
nspawn scope lifecycle fixes
2018-11-09 20:49:31 +01:00
Lennart Poettering
48c3512269
man: document sd_bus_attach_event()
2018-11-09 17:09:52 +01:00
Lennart Poettering
eda0d9a13b
man: document sd_bus_flush_close_unref()
2018-11-09 17:09:52 +01:00
Lennart Poettering
576af73f4a
man: document sd_bus_close() + sd_bus_flush()
2018-11-09 17:09:52 +01:00
Lennart Poettering
c4e48030cf
sd-bus: make "close+flush-on-exit" optional when using sd-event with sd-bus
...
This adds a new pair of API calls sd_bus_set_close_on_exit() and
sd_bus_get_close_on_exit(). They control whether an sd_bus object
attached to a an sd-event loop shall automatically be flushed/closed
when the event loop goes down. Usually that's a good thing, except for
very few cases where the bus connection is longer living than the event
loop it is attached on. Specifically, this is the case for nspawn, where
we run the event loop only while the container is up, but afterwards
still want to be able to use the bus connection.
2018-11-09 17:08:59 +01:00
Lennart Poettering
223ce56fa1
man: document systemd-bless-boot-generator
2018-10-19 22:34:50 +02:00
Lennart Poettering
04431cd1f8
man: document systemd-boot-check-no-failures.service
2018-10-19 22:34:50 +02:00
Lennart Poettering
ab3fc7b193
man: document systemd-bless-boot
2018-10-19 22:34:50 +02:00
Lennart Poettering
190128e407
sd-bus: add new API call sd_bus_error_move()
...
This new call move an sd_bus_error into another one.
2018-10-13 12:59:29 +02:00
Zbigniew Jędrzejewski-Szmek
adda90b03e
man: add man page for systemd-id128
2018-10-02 15:15:10 +02:00
Zbigniew Jędrzejewski-Szmek
65d410c7ca
sd-id128: add sd_id128_get_boot_app_specific()
2018-10-02 15:15:10 +02:00
Zbigniew Jędrzejewski-Szmek
d7338be4f0
man: add sd_bus_message_get_signature(3)
2018-08-23 16:57:55 +02:00
Zbigniew Jędrzejewski-Szmek
7f9f55e1b3
man: add sd_bus_message_read_array(3)
2018-08-11 12:25:54 +02:00
Zbigniew Jędrzejewski-Szmek
58df2afbbf
man: add sd_bus_message_skip(3)
2018-08-11 12:25:54 +02:00
Zbigniew Jędrzejewski-Szmek
46fdbae32e
man: add sd_bus_message_rewind(3)
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
e7015301fb
man: document sd_bus_slot_get_bus in sd_bus_slot_ref(3)
...
Similar reasoning as for sd_bus_message_get_bus().
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
dee0fccca3
man: add sd_bus_slot_set_description(3)
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
6d4a51820e
man: add sd_bus_slot_set_userdata(3)
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
d65044e812
man: add sd_bus_message_set_expect_reply(3)
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
9905256523
man: document sd_bus_message_get_bus() in sd_bus_message_new(3)
...
It's not a particularly obvious place, but it's a trivial function that isn't
worth a man page of its own, and it doesn't fit anywhere else either.
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
2c48865bd0
man: add sd_bus_message_verify_type(3)
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
9c9207912e
man: add sd_bus_message_get_type(3)
...
sd_bus_message{get_type,is_signal,is_method_call,is_method_error} get one man
page.
sd_bus_message_{set,get}_{destination,path,interface,member,sender} are put in
the second one.
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
f16a506418
man: add sd_bus_slot_ref(3)
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
7ddee21716
man: document sd_bus_message_new_method_return
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
f00ded93e0
man: document *_with_description functions
2018-08-02 15:49:45 +02:00
Zbigniew Jędrzejewski-Szmek
206ed9c1f6
man: add sd_bus_message_new(3)
2018-08-02 15:48:46 +02:00
Zbigniew Jędrzejewski-Szmek
cfe8ee463d
man: add sd_bus_message_new_call(3)
2018-08-02 15:45:20 +02:00
Zbigniew Jędrzejewski-Szmek
e8b84fcca6
man: add sd_bus_message_new_signal(3)
2018-08-02 15:44:25 +02:00
Yu Watanabe
08540a9591
meson: allow building resolved and machined without nss modules
...
This adds -Dnss-resolve= and -Dnss-mymachines= meson options.
By using this option, e.g., resolved can be built without nss-resolve.
When no nss modules are built, then test-nss is neither built.
Also, This changes the option name -Dmyhostname= to -Dnss-myhostname=
for consistency to other nss related options.
Closes #9596 .
2018-07-23 14:03:05 +02:00
Zbigniew Jędrzejewski-Szmek
a99655b052
man: add a description of user@.service, user-runtime-dir@.service, user-*.slice
...
Fixes #9590 .
2018-07-20 16:57:50 +02:00
Zbigniew Jędrzejewski-Szmek
3c775de6c5
man: add sd_bus_set_description(3)
2018-07-16 12:36:44 +02:00
Zbigniew Jędrzejewski-Szmek
629941003e
man: add sd_bus_reply_method_error(3)
2018-07-16 12:25:16 +02:00
Zbigniew Jędrzejewski-Szmek
c5fd8c3995
man: add sd_bus_message_copy(3)
2018-07-16 12:25:16 +02:00
Zbigniew Jędrzejewski-Szmek
e50f471888
man: add sd_bus_message_new_error(3)
2018-07-16 12:25:14 +02:00
Zbigniew Jędrzejewski-Szmek
50972aac44
man: document sd_bus_read(), add more about sd_bus_read_basic()
2018-07-03 14:31:01 +02:00
Yu Watanabe
70c8db7555
man: use systemd-boot instead of sd-boot
2018-06-15 14:27:37 +09:00
Lennart Poettering
90b1fa59cf
sd-event: document sd_event_source_set_io_fd_own()
...
With this we have 100% of the sd-event symbols documented again. Yay!
2018-06-07 13:10:56 +02:00
Lennart Poettering
15723a1db0
sd-event: add destroy callback logic to sd-event too
...
This adds what has been added to sd_bus_slot and sd_bus_track to
sd_event too.
2018-06-07 13:10:56 +02:00
Lennart Poettering
66223497d0
sd-bus: also add destroy callbacks to sd_bus_track objects
...
This augments previous work for this for sd_bus_slot objects, and adds
the same concept to sd_bus_track objects, too.
2018-06-07 13:10:56 +02:00