GUPNP_SERVICE_PROXY_ACTION_SET(3) 1 GUPNP_SERVICE_PROXY_ACTION_SET(3)gupnp_service_proxy_action_set - Send action to the service and set valueSYNOPSIS
bool gupnp_service_proxy_action_set (resource $proxy, string $action, string $name, mixed $value, int $type)
DESCRIPTION
Send action with parameters to the service exposed by proxy synchronously and set value.
PARAMETERS
o $proxy
- A service proxy identifier.
o $action
- An action.
o $name
- The action name.
o $value
- The action value.
o $type
- The type of the action. Type can be one of the following values:
o GUPNP_TYPE_BOOLEAN - Type of the variable is boolean.
o GUPNP_TYPE_INT - Type of the variable is integer.
o GUPNP_TYPE_LONG - Type of the variable is long.
o GUPNP_TYPE_DOUBLE - Type of the variable is double.
o GUPNP_TYPE_FLOAT - Type of the variable is float.
o GUPNP_TYPE_STRING - Type of the variable is string.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
ERRORS /EXCEPTIONS
Issues E_WARNING with either not correctly defined type of the action or unable to send action.
SEE ALSO gupnp_service_proxy_action_get(3), gupnp_service_proxy_send_action(3).
PHP Documentation Group GUPNP_SERVICE_PROXY_ACTION_SET(3)
Check Out this Related Man Page
DtActionLabel(library call) DtActionLabel(library call)
NAME
DtActionLabel -- get the localizable label string for an action
SYNOPSIS
#include <Dt/Action.h>
char *DtActionLabel(
char *actionName);
DESCRIPTION
The DtActionLabel function provides access to the localizable label string associated with an action named actionName. The actionName argu-
ment is the name of the action. The localizable label string is the string that all components should display to identify the action. If
the action definition does not specify a label string, the action name itself is returned.
The label string associated with an action is localizable, but the action name is not.
If there are multiple actionName actions, the label string returned is the label associated with the most general action. The most general
action is the one with the lowest precedence, as described in dtactionfile(4) (``Action Selection'').
RETURN VALUE
Upon successful completion, the DtActionLabel function returns a newly allocated copy of the localizable label string associated with the
action if an action named actionName is found; otherwise, it returns NULL. It is up to the caller to free the memory associated with this
new copy of the label. The default value for an action label is the action name itself.
APPLICATION USAGE
All applications displaying action names should use the action label to identify an action.
SEE ALSO
Dt/Action.h - DtAction(5), dtactionfile(4), dtdtfile(4).
DtActionLabel(library call)
Any idea to repeat an action to all the lines in vi...
suppose i want to delete the first word from all the lines in VI .. how would i do it ?
in general i am also looking for a way to apply a action to all the lines in VI . (6 Replies)
Hi,
I have a variable (x) that holds a file name - I need to write this:
if x matches the patern *ABC* or the pattern DEF*T then
action A
else
action B
fi
how to do that?
Also, how can i change the or test to AND test?
Thanks. (2 Replies)
Hi
I've a file like so:
Now, I want to read my file and take ex. the Media ID and the Type for each groups of Media (Media1,Media2,...,Media(n):
cat /tmp/file|\
while read FILE
do
while $(FILE|cut -d: -f1)=Media$i
do
#here will be some test, ex:
#if Media ID < 23
... (4 Replies)
how to concatenate a string and variable like
a=rahul
and i want to put it into another variable 'b' as "rahul_prasath"
i dont want to use another variable for "_prasath"
how to do it? (1 Reply)
I have an array as follows:
Space: ABC
Name: def
Age: 22
Type: new
Name: fgh
Age: 34
Type: old
Space: XYZ
Name: pqr
Age: 44
Type: new
:
:
How can I separate the array with elements starting from Space:ABC until Space: XYZ & put them in a different array & so on... (4 Replies)
Okay, probably an easy solution, but I've given up. I want to set a variable with a variable and print it in PHP. I just can't get the syntax right. As an example:
$place = "T";
$norm_t = array("4","7");
I want to use this in a for-loop. How do I echo the first number of the norm_t... (4 Replies)
p="-e"
echo $p
It is not returning the value "-e" stored. Instead returns null.
I am wondering how could this happen. Please help me out.I tried all possibilities like p='-e' | p="\-e". Nothing seems to work.
:confused::confused: (10 Replies)
Hello,
The task is quite simple. I need to initialise а string variable and assign to it a very long value. For the reason of readability I want to devide this long value into equal parts and place each part at a separate line.
For instance, I have -
... (1 Reply)
Hello All,
I have the following file. The first column is Type. Always the file will have one H and one T type in between all D type reocrds.
Need todo some validations.
H|ABCD
D|TAB N0003107809CD2013-11-14|RYAN|FRY|7 DR|RICHMOND HILL|GA|32431|X|C95|000009999|000000001|TAB||C0001
D|TAB... (3 Replies)
HI Guys,
I gave Input file F.Txt
ID H1 H2 H3 H4 H5
A 5 6 7 8 9
B 4 65 4 4 7
C 4 4 4 4 4
D 4 4 4 4 4
Output :-
ID H1 H2 H3 H4 H5
Total 17 79 19 20 24
Sum of Each Columns (8 Replies)
Hi Folks -
Linux Version = Linux 2.6.39-400.128.17.el5uek x86_64
I have a process that determines the start and end load periods for an Oracle data load process.
The variables used are as follows follows:
They are populated like such:
However, the load requires the month to be the... (11 Replies)