chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib/configuration.c, lib/home.c: Introduce environment variables.
[disorder]
/
lib
/
configuration.h
diff --git
a/lib/configuration.h
b/lib/configuration.h
index 3811b34d49716d8ea0044ce9d6950a38d0207422..46a6272ec8487eddded45e9b08e8cdaf4cc1f23f 100644
(file)
--- a/
lib/configuration.h
+++ b/
lib/configuration.h
@@
-244,12
+244,15
@@
struct config {
/** @brief RTP buffer maximum size */
long rtp_maxbuffer;
/** @brief RTP buffer maximum size */
long rtp_maxbuffer;
- /* @brief RTP receive buffer size */
+ /*
*
@brief RTP receive buffer size */
long rtp_rcvbuf;
/** @brief Fixed RTP listening address */
struct netaddress rtp_request_address;
long rtp_rcvbuf;
/** @brief Fixed RTP listening address */
struct netaddress rtp_request_address;
+ /** @brief @c disorder-playrtp instance name (for naming sockets etc.) */
+ char *rtp_instance_name;
+
/** @brief Verbose RTP transmission logging */
int rtp_verbose;
/** @brief Verbose RTP transmission logging */
int rtp_verbose;
@@
-339,9
+342,8
@@
char *config_get_file(const char *name);
struct passwd;
struct passwd;
-char *config_userconf(const char *home, const struct passwd *pw);
-/* get the user's own private conffile, assuming their home dir is
- * @home@ if not null and using @pw@ otherwise */
+char *config_userconf(void);
+/* get the user's own private conffile */
char *config_usersysconf(const struct passwd *pw );
/* get the user's conffile in /etc */
char *config_usersysconf(const struct passwd *pw );
/* get the user's conffile in /etc */