This file is indexed.

/usr/include/gpac/modules/ipmp.h is in libgpac-dev 0.5.2-426-gc5ad4e4+dfsg5-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
 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
/*
 *			GPAC - Multimedia Framework C SDK
 *
 *			Authors: Jean Le Feuvre
 *			Copyright (c) Telecom ParisTech 2000-2012
 *					All rights reserved
 *
 *  This file is part of GPAC / modules interfaces
 *
 *  GPAC is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation; either version 2, or (at your option)
 *  any later version.
 *
 *  GPAC 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 Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; see the file COPYING.  If not, write to
 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 */


#ifndef _GF_MODULE_IPMP_H_
#define _GF_MODULE_IPMP_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <gpac/module.h>

/*
	NOTE ON IPMP TOOLS

  The current implementation is very basic and does not follow MPEG-4 IPMPX architecture
  This is just a place holder for ISMA/OMA-like schemes
  Currently all operations are synchronous...
*/

enum
{
	/*push some configuration data to the IPMP tool*/
	GF_IPMP_TOOL_SETUP,
	/*request access to the object (eg, PLAY)*/
	GF_IPMP_TOOL_GRANT_ACCESS,
	/*release access to the object (eg, STOP)*/
	GF_IPMP_TOOL_RELEASE_ACCESS,
	/*push some configuration data to the IPMP tool*/
	GF_IPMP_TOOL_PROCESS_DATA,
};

typedef struct
{
	u32 scheme_version;
	u32 scheme_type;
	const char *scheme_uri;
	const char *kms_uri;
} GF_ISMACrypConfig;

typedef struct
{
	u32 scheme_version;
	u32 scheme_type;
	u32 PSSH_count;
	GF_NetComDRMConfigPSSH *PSSHs;
} GF_CENCConfig;

typedef struct
{
	u32 scheme_version;
	u32 scheme_type;
	const char *scheme_uri;
	const char *kms_uri;
	/*SHA-1 hash*/
	u8 hash[20];

	const char *contentID;
	u32 oma_drm_crypt_type;
	Bool oma_drm_use_pad, oma_drm_use_hdr;
	const char *oma_drm_textual_headers;
	u32 oma_drm_textual_headers_len;
} GF_OMADRM2Config;

/*IPMP events*/
typedef struct
{
	/*event type*/
	u32 event_type;

	/*gpac's channel triggering this event, NULL if unknown/unspecified*/
	struct _es_channel *channel;

	/*identifier of the config data (GF_IPMP_TOOL_SETUP)*/
	u32 config_data_code;
	/*config data (GF_IPMP_TOOL_SETUP). Type depends on the config_data_code*/
	void *config_data;

	Bool restart_requested;

	/*data manipulation (GF_IPMP_TOOL_PROCESS_DATA) - data is always processed in-place in a
	synchronous way*/
	char *data;
	u32 data_size;
	u32 out_data_size;
	/*indicates if payload passed is encrypted or not - this is used by ISMA, OMA and 3GP*/
	Bool is_encrypted;
	/*ISMA payload resync indicator*/
	u64 isma_BSO;
	/*CENC sample auxiliary information*/
	char *sai;
	u8 IV_size;
	u32 saiz;
} GF_IPMPEvent;

/*interface name and version for IPMP tools*/
#define GF_IPMP_TOOL_INTERFACE		GF_4CC('G','I','P', '1')

typedef struct _ipmp_tool GF_IPMPTool;

struct _ipmp_tool
{
	/* interface declaration*/
	GF_DECL_MODULE_INTERFACE

	/*process an ipmp event*/
	GF_Err (*process)(GF_IPMPTool *dr, GF_IPMPEvent *evt);
	/*tool private*/
	void *udta;

};


#ifdef __cplusplus
}
#endif


#endif	/*#define _GF_MODULE_IPMP_H_
*/