This file is indexed.

/usr/share/pyshared/d_rats/signals.py is in d-rats 0.3.3-3ubuntu1.

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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
#!/usr/bin/python
#
# Copyright 2009 Dan Smith <dsmith@danplanet.com>
#
# This program 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 3 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, see <http://www.gnu.org/licenses/>.

import gobject

STATUS = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,))

USER_STOP_SESSION = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,         # Session ID
      gobject.TYPE_STRING))     # Port Name

USER_CANCEL_SESSION = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,         # Session ID
      gobject.TYPE_STRING))     # Port Name

USER_SEND_FORM = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,      # Station
      gobject.TYPE_STRING,      # Port Name
      gobject.TYPE_STRING,      # Filename
      gobject.TYPE_STRING))     # Session name
RPC_SEND_FORM = USER_SEND_FORM

USER_SEND_FILE = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,      # Station
      gobject.TYPE_STRING,      # Port Name
      gobject.TYPE_STRING,      # Filename
      gobject.TYPE_STRING))     # Session name
RPC_SEND_FILE = USER_SEND_FILE

USER_SEND_CHAT = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,      # Station
      gobject.TYPE_STRING,      # Port Name
      gobject.TYPE_STRING,      # Text
      gobject.TYPE_BOOLEAN))    # Raw

INCOMING_CHAT_MESSAGE = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,      # Source
      gobject.TYPE_STRING,      # Destination
      gobject.TYPE_STRING))     # Text
OUTGOING_CHAT_MESSAGE = INCOMING_CHAT_MESSAGE

GET_STATION_LIST = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_PYOBJECT,
     ())

GET_MESSAGE_LIST = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_PYOBJECT,
     (gobject.TYPE_STRING,))    # Station

SUBMIT_RPC_JOB = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_PYOBJECT,    # Job
      gobject.TYPE_STRING))     # Port Name

EVENT = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_PYOBJECT,))  # Event

NOTICE = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     ())

CONFIG_CHANGED = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     ())

SHOW_MAP_STATION = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,))     # Station

PING_STATION = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,       # Station
      gobject.TYPE_STRING))      # Port Name

PING_STATION_ECHO = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,       # Station
      gobject.TYPE_STRING,       # Port Name
      gobject.TYPE_STRING,       # Data
      gobject.TYPE_PYOBJECT,     # Callback
      gobject.TYPE_PYOBJECT))    # Callback data

PING_REQUEST = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,       # Source
      gobject.TYPE_STRING,       # Destination
      gobject.TYPE_STRING))      # Data
PING_RESPONSE = PING_REQUEST

INCOMING_GPS_FIX = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_PYOBJECT,))   # Fix

STATION_STATUS = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,       # Station,
      gobject.TYPE_INT,          # Status,
      gobject.TYPE_STRING))      # Status message

GET_CURRENT_STATUS = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_PYOBJECT,
     ())

GET_CURRENT_POSITION = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_PYOBJECT,
     (gobject.TYPE_STRING,))     # Station (None for self)

SESSION_STARTED = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING))      # Type

SESSION_ENDED = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING,       # Message,
      gobject.TYPE_PYOBJECT))    # Restart info

SESSION_STATUS_UPDATE = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING))      # Message

FILE_RECEIVED = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING))      # Filename

FORM_RECEIVED = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING))      # Filename

FILE_SENT = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING))      # Filename

FORM_SENT = \
    (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE,
     (gobject.TYPE_INT,          # Session ID
      gobject.TYPE_STRING))      # Filename

GET_CHAT_PORT = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_STRING,
     ())

TRIGGER_MSG_ROUTER = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_NONE,
     (gobject.TYPE_STRING,))     # account (section) to trigger, "" if msgrouter

REGISTER_OBJECT = \
    (gobject.SIGNAL_ACTION, gobject.TYPE_NONE,
     (gobject.TYPE_PYOBJECT,))   # Object to register