This file is indexed.

/usr/include/GNUstep/GDLAccess/EOAdaptor.h is in libsope-dev 2.2.17-1build2.

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
/* 
   EOAdaptor.h

   Copyright (C) 1996 Free Software Foundation, Inc.

   Author: Ovidiu Predescu <ovidiu@bx.logicnet.ro>
   Date: October 1996

   This file is part of the GNUstep Database Library.

   This library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Library General Public
   License as published by the Free Software Foundation; either
   version 2 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
   Library General Public License for more details.

   You should have received a copy of the GNU Library General Public
   License along with this library; see the file COPYING.LIB.
   If not, write to the Free Software Foundation,
   59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/

#ifndef __EOAdaptor_h__
#define __EOAdaptor_h__

#import <Foundation/NSObject.h>

@class NSMutableArray, NSArray, NSDictionary, NSString, NSURL;

@class EOModel;
@class EOAttribute;
@class EOAdaptorContext;

/* The EOAdaptor class could be overriden for a concrete database adaptor.
   You have to override only those methods marked in this header with
   `override'.
*/

/* Don't make EOAdaptor* classes garbage collectable because we want to make
   the instances release the database allocated resources immediately when they
   receive the -release message. */

@interface EOAdaptor : NSObject
{
@protected
    EOModel        *model;
    NSString       *name;
    NSDictionary   *connectionDictionary;
    NSDictionary   *pkeyGeneratorDictionary;
    NSMutableArray *contexts;       // values with contexts
    id             delegate;       // not retained

    /* Flags used to check if the delegate responds to several messages */
    BOOL delegateWillReportError:1;
}

/* Creating an EOAdaptor */
+ (id)adaptorWithModel:(EOModel *)aModel;
+ (id)adaptorWithName:(NSString *)aName;
+ (id)adaptorForURL:(id)_url;
+ (NSString *)libraryDriversSubDir;
- (id)initWithName:(NSString *)aName;

/* Getting an adaptor's name */
- (NSString*)name;

/* Get the library subdir name */

/* Setting connection information */
- (void)setConnectionDictionary:(NSDictionary*)aDictionary;
- (NSDictionary*)connectionDictionary;
- (BOOL)hasValidConnectionDictionary;                   // override

/* Setting pkey generation info */
- (void)setPkeyGeneratorDictionary:(NSDictionary*)aDictionary;
- (NSDictionary*)pkeyGeneratorDictionary;

/* Setting the model */
- (void)setModel:(EOModel*)aModel;
- (EOModel*)model;

/* Creating and removing an adaptor context */
- (EOAdaptorContext*)createAdaptorContext;              // override
- (NSArray *)contexts;

/* Checking connection status */
- (BOOL)hasOpenChannels;

/* Getting adaptor-specific information */
- (Class)expressionClass;                               // override
- (Class)adaptorContextClass;                           // override
- (Class)adaptorChannelClass;                           // override
- (BOOL)isValidQualifierType:(NSString*)aTypeName;      // override

/* Formatting SQL */
- (id)formatAttribute:(EOAttribute*)attribute;          // override
- (id)formatValue:value forAttribute:(EOAttribute*)attribute; // override

/* Reporting errors */
- (void)reportError:(NSString*)anError;

/* Setting the delegate */
- (id)delegate;
- (void)setDelegate:(id)aDelegate;

@end /* EOAdaptor */


@interface EOAdaptor(Private)
- (void)contextDidInit:(id)aContext;
- (void)contextWillDealloc:(id)aContext;
@end


@interface NSObject(EOAdaptorDelegate)

- (BOOL)adaptor:(EOAdaptor*)anAdaptor willReportError:(NSString*)anError;

@end /* NSObject(EOAdaptorDelegate) */

@interface EOAdaptor(MDlinkExtensions)
- (NSString *)charConvertExpressionForAttributeNamed:(NSString *)_attrName;
- (NSString *)lowerExpressionForTextAttributeNamed:(NSString *)_attrName;
- (NSString *)expressionForTextValue:(id)_value;
- (BOOL)attributeAllowedInDistinctSelects:(EOAttribute *)attribute;
@end

@interface EOAdaptor(EOF2Additions)

- (BOOL)canServiceModel:(EOModel *)_model;

@end

#endif /* __EOAdaptor_h__*/