X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=m4%2Fgengetopt%2Faudiod.m4;h=75c045817898e8b840dc4734cd547ad282e67580;hp=9aabd575b0519cc5f763219e135c3726c6e38611;hb=5e8d8a8eea6de9459ebdf4498f9f061c84bfa63a;hpb=2829202e393e4b0095d62739910ae56f04e83326 diff --git a/m4/gengetopt/audiod.m4 b/m4/gengetopt/audiod.m4 index 9aabd575..75c04581 100644 --- a/m4/gengetopt/audiod.m4 +++ b/m4/gengetopt/audiod.m4 @@ -1,3 +1,7 @@ +args "--no-handle-help --no-handle-version --conf-parser" + +purpose "Connect to para_server, receive, decode and play audio streams" + include(header.m4) define(CURRENT_PROGRAM,para_audiod) define(DEFAULT_CONFIG_FILE,~/.paraslash/audiod.conf) @@ -16,6 +20,7 @@ include(log_timing.m4) include(daemon.m4) include(user.m4) include(group.m4) +include(priority.m4) ######################## @@ -76,25 +81,26 @@ details=" instructed to use also \"filename\" for connecting para_audiod. " -option "user_allow" - +option "user-allow" - #~~~~~~~~~~~~~~~~~~~~ -"allow this uid" -int typestr="uid" -default="-1" +"allow this user to connect to audiod" +string typestr = "username" optional multiple -details=" - Allow the user identified by \"uid\" to connect to para_audiod. - May be specified multiple times. If not specified at all, - all users are allowed to connect. - - This feature requires unix socket credentials and is currently - only supported on Linux systems. On other operating systems, - the option is silently ignored and all local users are allowed - to connect to para_audiod. +details = " + Allow the user identified by username (either a string or + a UID) to connect to para_audiod. This option may be given + multiple times. If not specified at all, all users are allowed + to connect. + + This feature is based on the ability to send unix + credentials through local sockets using ancillary data + (SCM_CREDENTIALS). Currently it only works on Linux. On + other operating systems the option is silently ignored and + all local users are allowed to connect. " -option "clock_diff_count" - +option "clock-diff-count" - #~~~~~~~~~~~~~~~~~~~~~~~~~~ "sync clock on startup" int typestr="count" @@ -191,7 +197,7 @@ details=" " -option "stream_delay" - +option "stream-delay" - #~~~~~~~~~~~~~~~~~~~~~~ "time for client sync" int typestr="milliseconds"