1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 02:57:16 +03:00
systemd/src/nss-myhostname
Lennart Poettering 46a5e0e742 hostname-util: introduce new is_gateway_hostname() call
This moves is_gateway() from nss-myhostname into the basic APIs, and
makes it more like is_localhost(). Also, we rename it to
is_gateway_hostname() to make it more expressive.

Sharing this function in src/basic/ allows us to reuse the function for
routing name requests in resolved (in a later commit).
2015-08-21 12:07:13 +02:00
..
Makefile build-sys: add makefile stub link to nss-myhostname/ 2013-04-30 08:36:02 -03:00
nss-myhostname.c hostname-util: introduce new is_gateway_hostname() call 2015-08-21 12:07:13 +02:00
nss-myhostname.sym nss-myhostname: move NSS boilerplate to nss-util.h 2014-07-10 23:33:55 +02:00