/usr/share/zproject/czmq/zdir_patch.api is in libczmq-dev 4.0.2-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 52 53 54 55 56 57 58 59 60 61 62 | <class name = "zdir_patch" state = "stable">
<!--
Copyright (c) the Contributors as noted in the AUTHORS file.
This file is part of CZMQ, the high-level C binding for 0MQ:
http://czmq.zeromq.org.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
-->
work with directory patches
<constant name = "create" value = "1">Creates a new file</constant>
<constant name = "delete" value = "2">Delete a file</constant>
<constructor>
Create new patch
<argument name = "path" type = "string" />
<argument name = "file" type = "zfile" />
<argument name = "op" type = "integer" />
<argument name = "alias" type = "string" />
</constructor>
<destructor>
Destroy a patch
</destructor>
<method name = "dup">
Create copy of a patch. If the patch is null, or memory was exhausted,
returns null.
<return type = "zdir_patch" fresh = "1" />
</method>
<method name = "path">
Return patch file directory path
<return type = "string" />
</method>
<method name = "file">
Return patch file item
<return type = "zfile" />
</method>
<method name = "op">
Return operation
<return type = "integer" />
</method>
<method name = "vpath">
Return patch virtual file path
<return type = "string" />
</method>
<method name = "digest set">
Calculate hash digest for file (create only)
</method>
<method name = "digest">
Return hash digest for patch file
<return type = "string" />
</method>
</class>
|