This file is indexed.

/usr/include/arc/message/SOAPMessage.h is in nordugrid-arc-dev 4.2.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
#ifndef __ARC_SOAPMESSAGE_H__
#define __ARC_SOAPMESSAGE_H__

#include <stdlib.h>

#include "SOAPEnvelope.h"
#include "Message.h"

namespace Arc {

/// Message restricted to SOAP payload
/** This is a special Message intended to be used in language bindings for
  programming languages which are not flexible enough to support all kinds of Payloads.
  It is passed through chain of MCCs and works like the Message but can carry only
  SOAP content. */
class SOAPMessage {
 private:
  SOAPEnvelope* payload_; /** Main content of message */
  MessageAuth* auth_; /** Authentication and authorization related information */
  MessageAttributes* attributes_; /** Various useful attributes */
  /** This element is maintained by MCC/element which handles/knows
    persistency of connection. It must be created and destroyed by
    that element. */
  MessageContext* context_;
  /** No copying is allowed */
  SOAPMessage(SOAPMessage& msg);
  /** No assignment is allowed. */
  SOAPMessage& operator=(SOAPMessage& msg);
 public:
  /** Dummy constructor */
  SOAPMessage(void):payload_(NULL),auth_(NULL),attributes_(NULL),context_(NULL) { };
  /** Copy constructor. Used by language bindigs */
  SOAPMessage(long msg_ptr_addr);
  /** Copy constructor. Ensures shallow copy. */
  SOAPMessage(Message& msg);
  /** Destructor does not affect refered objects */
  ~SOAPMessage(void);
  /** Returns pointer to current payload or NULL if no payload assigned. */
  SOAPEnvelope* Payload(void);
  /** Replace payload with a COPY of new one */
  void Payload(SOAPEnvelope* new_payload);
  /** Returns a pointer to the current attributes object or NULL if no
      attributes object has been assigned. */
  MessageAttributes* Attributes(void) { return attributes_; };
  void Attributes(MessageAttributes* attributes) {
    attributes_=attributes;
  };

  MessageAuth *Auth(void) { return auth_; };
  void Auth(MessageAuth *auth) {
    auth_ = auth;
  };
  MessageContext* Context(void) { return context_; };
  void Context(MessageContext* context) {
    context_=context;
  };
};

} // namespace Arc

#endif /* __ARC_SOAPMESSAGE_H__ */