This file is indexed.

/usr/include/aff4/libaff4.h is in libaff4-dev 0.24.post1-3.

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
/*
Copyright 2014 Google Inc. All rights reserved.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License.  You may obtain a copy of the
License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied.  See the License for the
specific language governing permissions and limitations under the License.
*/


#ifndef     SRC_LIBAFF4_H_
#define     SRC_LIBAFF4_H_

#include "rdf.h"
#include "aff4_io.h"
#include "aff4_image.h"
#include "aff4_directory.h"
#include "aff4_map.h"
#include "data_store.h"
#include "zip.h"
#include "lexicon.h"


/* Utility functions. */

/**
 * Convert from a child URN to the zip member name.
 *
 * The AFF4 ZipFile stores AFF4 objects (with fully qualified URNs) in zip
 * archives. The zip members name is based on the object's URN with the
 * following rules:

 1. If the object's URN is an extension of the volume's URN, the member's name
 will be the relative name. So for example:

 Object: aff4://9db79393-53fa-4147-b823-5c3e1d37544d/Foobar.txt
 Volume: aff4://9db79393-53fa-4147-b823-5c3e1d37544d

 Member name: Foobar.txt

 2. All charaters outside the range [a-zA-Z0-9_] shall be escaped according to
 their hex encoding.

 * @param name
 *
 * @return The member name in the zip archive.
 */
string member_name_for_urn(const URN member, const URN base_urn,
                           bool slash_ok = false);

URN urn_from_member_name(const string member, const URN base_urn);


extern "C" {
  char *AFF4_version();
}

#endif    // SRC_LIBAFF4_H_