aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/io/manager/property/xattr.txt
blob: ba471c5faa3d755b00cccfc35b7798329a741a95 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
~~Title: Efl.Io.Manager.xattr~~
===== Signature =====

<code>
@property xattr {
    get {
        keys {
            path: free(string, free);
            attribute: free(string, free);
        }
        return: ptr(Eina.Future);
    }
    set {
        keys {
            path: free(string, free);
            attribute: free(string, free);
        }
        values {
            data: ptr(free(Eina.Binbuf, eina_binbuf_free));
            flags: Eina.Xattr.Flags;
        }
        return: ptr(Eina.Future);
    }
}
</code>

===== C signature =====

<code c>
Eina_Future *efl_io_manager_xattr_get(const Eo *obj, const char *path, const char *attribute);
Eina_Future *efl_io_manager_xattr_set(Eo *obj, const char *path, const char *attribute, Eina_Binbuf *data, Eina_Xattr_Flags flags);
</code>

===== Keys =====

  * **path** - %%File path%%
  * **attribute** - %%Attribute name%%
===== Values =====

  * **data** - %%Data to set as information%%
  * **flags** - %%Extended attributes flags%%
===== Description =====

%%Retrieves or sets information of a given extended attribute.%%
{{page>:develop:api-include:efl:io:manager:property:xattr:description&nouser&nolink&nodate}}


===== Implemented by =====

  * **Efl.Io.Manager.xattr**