mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
libsystemd: Don't use "class" in public headers
For compatibility with C++
This commit is contained in:
parent
7f8aa67131
commit
e43e3e3eed
@ -178,7 +178,7 @@ int sd_seat_can_tty(const char *seat);
|
||||
int sd_seat_can_graphical(const char *seat);
|
||||
|
||||
/* Return the class of machine */
|
||||
int sd_machine_get_class(const char *machine, char **class);
|
||||
int sd_machine_get_class(const char *machine, char **clazz);
|
||||
|
||||
/* Get all seats, store in *seats. Returns the number of seats. If
|
||||
* seats is NULL only returns number of seats. */
|
||||
|
@ -103,13 +103,13 @@ int sd_resolve_getnameinfo_done(sd_resolve_query* q, char **ret_host, char **ret
|
||||
* compatible with the ones of libc's res_query(3). The function returns a new
|
||||
* query object. When the query is completed you may retrieve the results using
|
||||
* sd_resolve_res_done(). */
|
||||
int sd_resolve_res_query(sd_resolve *resolve, sd_resolve_query **q, const char *dname, int class, int type);
|
||||
int sd_resolve_res_query(sd_resolve *resolve, sd_resolve_query **q, const char *dname, int clazz, int type);
|
||||
|
||||
/** Issue an resolver query on the specified session. The arguments are
|
||||
* compatible with the ones of libc's res_search(3). The function returns a new
|
||||
* query object. When the query is completed you may retrieve the results using
|
||||
* sd_resolve_res_done(). */
|
||||
int sd_resolve_res_search(sd_resolve *resolve, sd_resolve_query **q, const char *dname, int class, int type);
|
||||
int sd_resolve_res_search(sd_resolve *resolve, sd_resolve_query **q, const char *dname, int clazz, int type);
|
||||
|
||||
/** Retrieve the results of a preceding sd_resolve_res_query() or
|
||||
* resolve_res_search call. The query object q is destroyed by this
|
||||
|
Loading…
Reference in New Issue
Block a user