|
|
|
# describes the servicetype that you need to implement in order to use
|
|
|
|
# kinetd.
|
|
|
|
[Desktop Entry]
|
|
|
|
Type=ServiceType
|
|
|
|
X-TDE-ServiceType=KInetDModule
|
|
|
|
|
|
|
|
Name=KInetD Module Type
|
|
|
|
|
|
|
|
# id to manipulate the service
|
|
|
|
[PropertyDef::X-TDE-KINETD-id]
|
|
|
|
Type=TQString
|
|
|
|
|
|
|
|
# describes the TCP port kinetd should listen to
|
|
|
|
[PropertyDef::X-TDE-KINETD-port]
|
|
|
|
Type=int
|
|
|
|
|
|
|
|
# if set and >0, the number of ports kinetd should probe if the port is in use
|
|
|
|
[PropertyDef::X-TDE-KINETD-autoPortRange]
|
|
|
|
Type=int
|
|
|
|
|
|
|
|
# if enabled, kinetd will listen on the port. Can be overridden using the
|
|
|
|
# dcop interface.
|
|
|
|
[PropertyDef::X-TDE-KINETD-enabled]
|
|
|
|
Type=bool
|
|
|
|
|
|
|
|
# if set, this argument is given to the app to start, followed by the number
|
|
|
|
# of the socket's fd
|
|
|
|
[PropertyDef::X-TDE-KINETD-argument]
|
|
|
|
Type=TQString
|
|
|
|
|
|
|
|
# if true, kinetd can accepts several connections at the same time. Otherwise
|
|
|
|
# it will block the port when a connection has been established.
|
|
|
|
[PropertyDef::X-TDE-KINETD-multiInstance]
|
|
|
|
Type=bool
|
|
|
|
|
|
|
|
# if set, kinetd will register the given URL at the local SLP SA while
|
|
|
|
# the port is open. It will register one URL for each IP address of the
|
|
|
|
# host.
|
|
|
|
# The following strings will be substituted:
|
|
|
|
# %h with the local IP address
|
|
|
|
# %p with the port number
|
|
|
|
# %u with the user's login name
|
|
|
|
# %f with the user's full name
|
|
|
|
# %i with a UUID thats identical in all URLs of this service
|
|
|
|
[PropertyDef::X-TDE-KINETD-serviceURL]
|
|
|
|
Type=TQString
|
|
|
|
|
|
|
|
# if kinetd registers a service URL, this string will be used for its attributes.
|
|
|
|
# The following strings will be substituted:
|
|
|
|
# %h with the local IP address
|
|
|
|
# %p with the port number
|
|
|
|
# %u with the user's login name
|
|
|
|
# %f with the user's full name
|
|
|
|
# %i with a UUID thats identical in all URLs of this service
|
|
|
|
[PropertyDef::X-TDE-KINETD-serviceAttributes]
|
|
|
|
Type=TQString
|
|
|
|
|
|
|
|
# the lifetime of a service in seconds. kinets will renew the service
|
|
|
|
# automatically. Max 65535, never use anything under 2 min. Something like
|
|
|
|
# 5-20 minutes is a sane value for most desktop applications.
|
|
|
|
[PropertyDef::X-TDE-KINETD-serviceLifetime]
|
|
|
|
Type=int
|
|
|
|
|
|
|
|
# if set, kinetd will announce service with given name on local network while
|
|
|
|
# the port is open.
|
|
|
|
# The following strings will be substituted:
|
|
|
|
# %h with the local IP address
|
|
|
|
# %f with the user's full name
|
|
|
|
# %p with the port number
|
|
|
|
|
|
|
|
[PropertyDef::X-TDE-KINETD-DNSSD-Name]
|
|
|
|
Type=TQString
|
|
|
|
|
|
|
|
# if kinetd announces service on network using DNS-SD, this string will be used as service
|
|
|
|
# type. It must be in form _yourservice._udp or _yourservice._tcp
|
|
|
|
# it uses the same substitution rules as X-TDE-KINETD-DNSSD-Name
|
|
|
|
|
|
|
|
[PropertyDef::X-TDE-KINETD-DNSSD-Type]
|
|
|
|
Type=TQString
|
|
|
|
|
|
|
|
# defines list of text properties for service announced via DNS-SD
|
|
|
|
# it uses the same substitution rules as X-TDE-KINETD-DNSSD-Name
|
|
|
|
[PropertyDef::X-TDE-KINETD-DNSSD-Properties]
|
|
|
|
Type=TQStringList
|