This file is indexed.

/usr/share/zproject/czmq/zconfig.api is in libczmq-dev 4.1.0-2.

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
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<class name = "zconfig" 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 config files written in rfc.zeromq.org/spec:4/ZPL.

    <callback_type name = "fct">
        <argument name = "self" type = "zconfig" />
        <argument name = "arg" type = "anything" />
        <argument name = "level" type = "integer" />
        <return type = "integer" />
    </callback_type>

    <constructor>
        Create new config item
        <argument name = "name" type = "string" />
        <argument name = "parent" type = "zconfig" />
    </constructor>

    <destructor>
        Destroy a config item and all its children
    </destructor>

    <method name = "name">
        Return name of config item
        <return type = "string" mutable = "1" />
    </method>

    <method name = "value">
        Return value of config item
        <return type = "string" mutable = "1" />
    </method>

    <method name = "put">
        Insert or update configuration key with value
        <argument name = "path" type = "string" />
        <argument name = "value" type = "string" />
    </method>

    <method name = "putf">
        Equivalent to zconfig_put, accepting a format specifier and variable
        argument list, instead of a single string value.
        <argument name = "path" type = "string" />
        <argument name = "format" type = "format" />
    </method>

    <method name = "get">
        Get value for config item into a string value; leading slash is optional
        and ignored.
        <argument name = "path" type = "string" />
        <argument name = "default value" type = "string" />
        <return type = "string" mutable = "1" />
    </method>
    <method name = "set name">
        Set config item name, name may be NULL
        <argument name = "name" type = "string" />
    </method>

    <method name = "set value">
        Set new value for config item. The new value may be a string, a printf
        format, or NULL. Note that if string may possibly contain '%', or if it
        comes from an insecure source, you must use '%s' as the format, followed
        by the string.
        <argument name = "format" type = "format" />
    </method>

    <method name = "child">
        Find our first child, if any
        <return type = "zconfig" />
    </method>

    <method name = "next">
        Find our first sibling, if any
        <return type = "zconfig" />
    </method>

    <method name = "locate">
        Find a config item along a path; leading slash is optional and ignored.
        <argument name = "path" type = "string" />
        <return type = "zconfig" />
    </method>

    <method name = "at depth">
        Locate the last config item at a specified depth
        <argument name = "level" type = "integer" />
        <return type = "zconfig" />
    </method>

    <method name = "execute">
        Execute a callback for each config item in the tree; returns zero if
        successful, else -1.
        <argument name = "handler" type = "zconfig_fct" callback = "1" />
        <argument name = "arg" type = "anything" />
        <return type = "integer" />
    </method>

    <method name = "set comment">
        Add comment to config item before saving to disk. You can add as many
        comment lines as you like. If you use a null format, all comments are
        deleted.
        <argument name = "format" type = "format" />
    </method>

    <method name = "comments">
        Return comments of config item, as zlist.
        <return type = "zlist" />
    </method>

    <constructor name = "load">
        Load a config tree from a specified ZPL text file; returns a zconfig_t
        reference for the root, if the file exists and is readable. Returns NULL
        if the file does not exist.
        <argument name = "filename" type = "string" />
    </constructor>

    <method name = "save">
        Save a config tree to a specified ZPL text file, where a filename
        "-" means dump to standard output.
        <argument name = "filename" type = "string" />
        <return type = "integer" />
    </method>

    <constructor name = "loadf">
        Equivalent to zconfig_load, taking a format string instead of a fixed
        filename.
        <argument name = "format" type = "format" />
    </constructor>

    <method name = "savef">
        Equivalent to zconfig_save, taking a format string instead of a fixed
        filename.
        <argument name = "format" type = "format" />
        <return type = "integer" />
    </method>

    <method name = "filename">
        Report filename used during zconfig_load, or NULL if none
        <return type = "string" />
    </method>

    <method name = "reload" singleton = "1" >
        Reload config tree from same file that it was previously loaded from.
        Returns 0 if OK, -1 if there was an error (and then does not change
        existing data).
        <argument name = "self_p" type = "zconfig" by_reference = "1" />
        <return type = "integer" />
    </method>

    <method name = "chunk load" singleton = "1" >
        Load a config tree from a memory chunk
        <argument name = "chunk" type = "zchunk" />
        <return type = "zconfig" />
    </method>

    <method name = "chunk save">
        Save a config tree to a new memory chunk
        <return type = "zchunk" />
    </method>

    <method name = "str load" singleton = "1" >
        Load a config tree from a null-terminated string
        <argument name = "string" type = "string" />
        <return type = "zconfig" fresh = "1" />
    </method>

    <method name = "str save">
        Save a config tree to a new null terminated string
        <return type = "string" fresh = "1" />
    </method>

    <method name = "has changed">
        Return true if a configuration tree was loaded from a file and that
        file has changed in since the tree was loaded.
        <return type = "boolean" />
    </method>

    <method name = "remove_subtree" state = "draft">
        Destroy subtree (all children)
    </method>

    <method name = "remove" singleton = "1" state = "draft">
        Destroy node and subtree (all children)
        <argument name = "self_p" type = "zconfig" by_reference = "1" />
    </method>

    <method name = "fprint">
        Print the config file to open stream
        <argument name = "file" type = "FILE" />
    </method>

    <method name = "print">
        Print properties of object
    </method>

    <method name = "test" singleton = "1">
        Self test of this class
        <argument name = "verbose" type = "boolean" />
    </method>
</class>