This file is indexed.

/usr/include/gbtools/gbtoolsCurl.hpp is in libgbtools-dev 4.44.1+dfsg-2build1.

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
/*  File: libcurlobject.h
 *  Author: Roy Storey (rds@sanger.ac.uk)
 *  Copyright (c) 2006-2015: Genome Research Ltd.
 *-------------------------------------------------------------------
 * ZMap is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 * or see the on-line version at http://www.gnu.org/copyleft/gpl.txt
 *-------------------------------------------------------------------
 * This file is part of the ZMap genome database package
 * originally written by:
 *
 * 	Ed Griffiths (Sanger Institute, UK) edgrif@sanger.ac.uk,
 *      Roy Storey (Sanger Institute, UK) rds@sanger.ac.uk
 *
 * Description: Object providing an interface to the curl library.
 *
 *-------------------------------------------------------------------
 */
#ifndef GBTOOLS_CURL_H
#define GBTOOLS_CURL_H

#include <glib.h>
#include <glib-object.h>
#include <curl/curl.h>

namespace gbtools
{


#define CURL_TYPE_OBJECT            (CURLObjectGetType())
#define CURL_OBJECT(obj)            (G_TYPE_CHECK_INSTANCE_CAST((obj), CURL_TYPE_OBJECT, curlObject))
#define CURL_OBJECT_CONST(obj)      (G_TYPE_CHECK_INSTANCE_CAST((obj), CURL_TYPE_OBJECT, curlObject const))
#define CURL_OBJECT_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST((klass),  CURL_TYPE_OBJECT, curlObjectClass))
#define CURL_IS_OBJECT(obj)         (G_TYPE_CHECK_INSTANCE_TYPE((obj), CURL_TYPE_OBJECT))
#define CURL_IS_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),  CURL_TYPE_OBJECT))
#define CURL_OBJECT_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS((obj),  CURL_TYPE_OBJECT, curlObjectClass))


typedef enum
  {
    CURL_STATUS_OK,
    CURL_STATUS_FAILED
  } CURLObjectStatus;


/*  */
typedef struct _curlObjectStruct *CURLObject;

typedef struct _curlObjectStruct  curlObject;

/*  */
typedef struct _curlObjectClassStruct *CURLObjectClass;

typedef struct _curlObjectClassStruct  curlObjectClass;


GType CURLObjectGetType(void);

CURLObject       CURLObjectNew         (void);
CURLObjectStatus CURLObjectSet         (CURLObject curlobject, const gchar *first_arg_name, ...);
CURLObjectStatus CURLObjectPerform     (CURLObject curlobject, gboolean use_multi);
CURLObjectStatus CURLObjectErrorMessage(CURLObject curl_object, char **message);
CURLObject       CURLObjectDestroy     (CURLObject curlobject);


} /* gbtools namespace */

#endif	/* GBTOOLS_CURL_H */