This file is indexed.

/usr/include/GNUstep/Frameworks/Pantomime.framework/Versions/1.2/CWTransport.h is in libpantomime1.2-dev 1.2.0~pre3+snap20071004+dfsg-4.

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
/*
**  CWTransport.h
**
**  Copyright (c) 2001-2006
**
**  Author: Ludovic Marcotte <ludovic@Sophos.ca>
**
**  This library 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.1 of the License, or (at your option) any later version.
**  
**  This library 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; if not, write to the Free Software
**  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/

#ifndef _Pantomime_H_CWTransport
#define _Pantomime_H_CWTransport

#import <Foundation/NSArray.h>
#import <Foundation/NSData.h>
#import <Foundation/NSNotification.h>

/*!
  @const PantomimeMessageSent
*/
extern NSString* PantomimeMessageSent;

/*!
  @const PantomimeMessageNotSent
*/
extern NSString* PantomimeMessageNotSent;


@class CWMessage;

/*!
  @category NSObject (TransportClient)
  @discussion This informal protocol defines methods that can implemented in
              CWTransport's delegate (CWSMTP or CWSendmail instances) to control 
	      the behavior of the class or to obtain status information.
*/
@interface NSObject (TransportClient)
/*!
  @method messageSent:
  @discussion This method is automatically invoked on the delegate
              after the SMTP DATA command has completed. The userInfo's
	      part of the notification contains the message that has
	      been sent. The key to obtain it is "Message".
	      A PantomimeMessageSent notification is also posted.
  @param theNotification The notification holding the information.
*/
- (void) messageSent: (NSNotification *) theNotification;

/*!
  @method messageNotSent:
  @discussion This method is automatically invoked on the delegate
              if any error occurs when trying to send a message
	      (like if a SMTP server won't relay our mails). The userInfo's
	      part of the notification contains the message that has
	      not been sent. The key to obtain it is "Message".
	      A PantomimeMessageNotSent notification is also posted.
  @param theNotification The notification holding the information.
*/
- (void) messageNotSent: (NSNotification *) theNotification;
@end

/*!
  @protocol CWTransport
  @discussion This protocol defines a generic interface for sending messages.
              The CWSMTP and CWSendmail classes fully implement this protocol.
*/
@protocol CWTransport

/*!
  @method sendMessage
  @discussion This method sends the message previously set with -setMessage:
              or -setMessageData:. It posts a PantomimeTransportMessageNotSent
	      notification (and calls -messageNotSent: on the delegate, if any)
	      if the message could not be sent. It ports a PantomimeTransportMessageSent
	      notification (and calls -messageSent: on the delegate, if any)
	      if the message has been successfully sent. This method is
	      fully asynchronous.
*/
- (void) sendMessage;

/*!
  @method setMessage:
  @discussion This method is used to set the message (instance of the CWMessage class)
              that the transport class will eventually send (by calling -sendMessage).
  @param theMessage The message to send.
*/
- (void) setMessage: (CWMessage *) theMessage;

/*!
  @method message
  @discussion This method is used to obtain the Message instance
              previously set by calling -setMessage:
  @result The CWMessage instance.
*/
- (CWMessage *) message;

/*!
  @method setMessageData:
  @discussion This method is used to set the message (as raw source) that the transport
              class will eventually send (by calling -sendMessage).
  @param theMessage The message to send.
*/
- (void) setMessageData: (NSData *) theData;

/*!
  @method messageData
  @discussion This method is used to obtain the message (its raw representation)
              previously set by calling -setMessageData:
  @result The message's raw representation.
*/
- (NSData *) messageData;

/*!
  @method setRecipients:
  @discussion This method is used to specify the recipients of the
              message.
  @param theRecipients An NSArray instance which contains CWInternetAddress
                       instances for all recipients.
*/
- (void) setRecipients: (NSArray *) theRecipients;

/*!
  @method recipients
  @discussion This method is used to obtain the recipients set when
              calling -setRecipients:.
  @result The array of recipients.
*/
- (NSArray *) recipients;

@end

#endif // _Pantomime_H_CWTransport