/usr/include/OpenSP/SearchResultMessageArg.h is in libosp-dev 1.5.2-10.
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 | // Copyright (c) 1995 James Clark
// See the file COPYING for copying permission.
#ifndef SearchResultMessageArg_INCLUDED
#define SearchResultMessageArg_INCLUDED 1
#ifdef __GNUG__
#pragma interface
#endif
#include "MessageArg.h"
#include "StringC.h"
#include "Vector.h"
#include "Vector.h"
#include "rtti.h"
#ifdef SP_NAMESPACE
namespace SP_NAMESPACE {
#endif
class SP_API SearchResultMessageArg : public OtherMessageArg {
RTTI_CLASS
public:
SearchResultMessageArg();
void add(StringC &, int);
MessageArg *copy() const;
size_t nTried() const;
const StringC &filename(size_t) const;
int errnum(size_t) const;
private:
Vector<StringC> filename_;
Vector<unsigned int> errno_;
};
inline
size_t SearchResultMessageArg::nTried() const
{
return filename_.size();
}
inline
const StringC &SearchResultMessageArg::filename(size_t i) const
{
return filename_[i];
}
inline
int SearchResultMessageArg::errnum(size_t i) const
{
return errno_[i];
}
#ifdef SP_NAMESPACE
}
#endif
#endif /* not SearchResultMessageArg_INCLUDED */
|