This file is indexed.

/usr/include/uclmmbase/sdp.h is in libuclmmbase1-dev 1.2.16.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
/*
 * FILE:   sdp.h
 * AUTHOR: Ivan R. Judson <judson@mcs.anl.gov>
 *
 * $Revision: 1.1 $ 
 * $Date: 2003/05/28 11:03:37 $
 * 
 * Copyright (c) 2002 Argonne National Laboratory/University of Chicago
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, is permitted provided that the following conditions 
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. All advertising materials mentioning features or use of this software
 *    must display the following acknowledgement:
 *      This product includes software developed by the Mathematics and 
 *      Computer Science Division of Argonne National Laboratory.
 * 4. Neither the name of the University nor of the Department may be used
 *    to endorse or promote products derived from this software without
 *    specific prior written permission.
 * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */

#ifndef _SDP_H
#define _SDP_H

#if defined(__cplusplus)
extern "C" {
#endif

  typedef struct sdp_network {
    char *network_type;
    char *address_type;
    char *address;
    int number_of_addresses;
  } sdp_network;

  typedef struct sdp_attribute {
    struct sdp_attribute *next;
    char *key;
    char *value;
  } sdp_attribute;

  typedef struct sdp_encryption {
    char *method;
    char *key;
  } sdp_encryption;

  typedef struct sdp_bandwidth_modifier {
    char *modifier;
    char *value;
  } sdp_bandwidth_modifier;

  typedef struct sdp_media {
    struct sdp_media *next;
    char *name;
    int port;
    int number_of_ports;
    sdp_network *network;
    char *transport;
    char *format_list;
    char *information;
    sdp_bandwidth_modifier *bandwidth_modifier;
    sdp_encryption *encryption;
    sdp_attribute *attributes;
  } sdp_media;

  typedef struct sdp_timezone {
    struct sdp_timezone *next;
    long adjustment;
    long offset;
  } sdp_timezone;

  typedef struct sdp_repeat {
    struct sdp_repeat *next;
    char *interval;
    char *duration;
    char *offsets;
  } sdp_repeat;

typedef struct sdp {
  int protocol_version;
  char *username;
  char *session_id;
  long version;
  sdp_network *network;
  char *name;
  char *information;
  char *uri;
  char *email;
  char *phone;
  sdp_bandwidth_modifier *bandwidth_modifier;
  sdp_timezone *timezones;
  sdp_encryption *encryption;
  sdp_attribute *attributes;

  long start_time;
  long stop_time;
  sdp_repeat *repeats;

  sdp_media *media;

  char *original;
} sdp;


int sdp_check_key(char *keylist, char *currentkey, char key);
sdp_media *sdp_handle_session_key(sdp *session, char key, char *value);
sdp_media *sdp_handle_media_key(sdp_media *media, char key, char *value);

sdp *sdp_parse(char *sdp_string);

void sdp_print(sdp *session); 
void sdp_print_media(sdp_media *media);
void sdp_print_network(sdp_network *network);

char *sdp_make(sdp *session);;

void sdp_free(sdp *session);
void sdp_free_media(sdp_media *media);
void sdp_free_attribute(sdp_attribute *attr);
void sdp_free_encryption(sdp_encryption *encr);
void sdp_free_bandwidth_modifier(sdp_bandwidth_modifier *bwm);
void sdp_free_repeat(sdp_repeat *repeat);
void sdp_free_network(sdp_network *network);

#if defined(__cplusplus)
}
#endif

#endif