diff options
author | Stef Walter <stefw@collabora.co.uk> | 2011-03-01 13:25:57 +0100 |
---|---|---|
committer | Stef Walter <stefw@collabora.co.uk> | 2011-03-01 13:25:57 +0100 |
commit | 3fca534d2f71febdf9f4d6399a7e1b610bac90f6 (patch) | |
tree | aff102ee8b3d228e6af4beeeb872d35f3b7590c1 /secret-service/org.freedesktop.Secrets.xml | |
parent | 1e768fc50c50b24274601f28dfde9cc9a41cc5c2 (diff) | |
download | xdg-specs-3fca534d2f71febdf9f4d6399a7e1b610bac90f6.tar.xz |
Allow specifying an alias in the CreateCollection() method.
This creates the collection with the given alias, or returns an already
existing collection in a race free manner.
Diffstat (limited to 'secret-service/org.freedesktop.Secrets.xml')
-rw-r--r-- | secret-service/org.freedesktop.Secrets.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/secret-service/org.freedesktop.Secrets.xml b/secret-service/org.freedesktop.Secrets.xml index 6a9e495..7d23c78 100644 --- a/secret-service/org.freedesktop.Secrets.xml +++ b/secret-service/org.freedesktop.Secrets.xml @@ -121,6 +121,21 @@ properties = { "Label": "MyCollection" } </para> </tp:docstring> </arg> + <arg name="alias" type="s" direction="in"> + <tp:docstring xmlns:docbook="http://docbook.org/ns/docbook"> + <para> + If creating this connection for a well known alias then a string like + <literal>default</literal>. If an collection with this well-known alias already + exists, then that collection will be returned instead of creating a new + collection. Any readwrite properties provided to this function will be set on + the collection. + </para> + <para> + Set this to an empty string if the new collection should not be associated with a + well known alias. + </para> + </tp:docstring> + </arg> <arg name="collection" type="o" direction="out"> <tp:docstring>The new collection object, or '/' if prompting is necessary.</tp:docstring> </arg> |