This file is indexed.

/usr/include/gsmlib/gsm_sie_me.h is in libgsmme-dev 1.10-13.

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
// *************************************************************************
// * GSM TA/ME library
// *
// * File:    gsm_sie_me.h
// *
// * Purpose: Mobile Equipment/Terminal Adapter and SMS functions
// *          (According to "AT command set for S45 Siemens mobile phones"
// *           v1.8, 26. July 2001 - Common AT prefix is "^S")
// *
// * Author:  Christian W. Zuckschwerdt  <zany@triq.net>
// *
// * Created: 2001-12-15
// *************************************************************************

#ifndef GSM_SIE_ME_H
#define GSM_SIE_ME_H

#include <gsmlib/gsm_error.h>
#include <gsmlib/gsm_at.h>
#include <string>
#include <vector>

using namespace std;

namespace gsmlib
{
  // *** Siemens mobile phone binary objects (bitmap, midi, vcal, vcard)

  struct BinaryObject
  {
    string _type;               // Object type
    int _subtype;               // Object subtype (storage number)
    unsigned char *_data;       // Object binary data
    int _size;                  // Object data size
  };

  // *** this class allows extended access to Siemens moblie phones

  class SieMe : public MeTa
  {
  private:
    // init ME/TA to sensible defaults
    void init() throw(GsmException);

  public:
    // initialize a new MeTa object given the port
    SieMe(Ref<Port> port) throw(GsmException);


    // get the current phonebook in the Siemens ME
    vector<string> getSupportedPhonebooks() throw(GsmException);// (AT^SPBS=?)

    // get the current phonebook in the Siemens ME
    string getCurrentPhonebook() throw(GsmException); // (AT^SPBS?)

    // set the current phonebook in the Siemens ME
    // remember the last phonebook set for optimisation
    void setPhonebook(string phonebookName) throw(GsmException); // (AT^SPBS=)


    // Siemens get supported signal tones
    IntRange getSupportedSignalTones() throw(GsmException); // (AT^SPST=?)

    // Siemens set ringing tone
    void playSignalTone(int tone) throw(GsmException); // (AT^SRTC=x,1)

    // Siemens set ringing tone
    void stopSignalTone(int tone) throw(GsmException); // (AT^SRTC=x,0)


    // Siemens get ringing tone
    IntRange getSupportedRingingTones() throw(GsmException); // (AT^SRTC=?)
    // Siemens get ringing tone
    int getCurrentRingingTone() throw(GsmException); // (AT^SRTC?)
    // Siemens set ringing tone
    void setRingingTone(int tone, int volume) throw(GsmException);// (AT^SRTC=)
    // Siemens set ringing tone on
    void playRingingTone() throw(GsmException);
    // Siemens set ringing tone of
    void stopRingingTone() throw(GsmException);
    // Siemens toggle ringing tone
    void toggleRingingTone() throw(GsmException); // (AT^SRTC)

    // Siemens get supported binary read
    vector<ParameterRange> getSupportedBinaryReads() throw(GsmException);

    // Siemens get supported binary write
    vector<ParameterRange> getSupportedBinaryWrites() throw(GsmException);

    // Siemens Binary Read
    BinaryObject getBinary(string type, int subtype) throw(GsmException);

    // Siemens Binary Write
    void setBinary(string type, int subtype, BinaryObject obj)
      throw(GsmException);
  };
};

#endif // GSM_ME_TA_H