This file is indexed.

/usr/include/assa-3.5/assa/Socketbuf.h is in libassa-3.5-5-dev 3.5.1-6+b1.

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
// -*- c++ -*-
//------------------------------------------------------------------------------
// $Id: Socketbuf.h,v 1.3 2005/10/08 02:42:00 vlg Exp $
//------------------------------------------------------------------------------
//                              Socketbuf.h
//------------------------------------------------------------------------------
//  Copyright (C) 1997-2002  Vladislav Grinchenko 
//
//  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.
//------------------------------------------------------------------------------
#ifndef SOCKET_BUF_H
#define SOCKET_BUF_H

#include "assa/Streambuf.h"

namespace ASSA {

/** @file Socketbuf.h 
 *
 * Socketbuf class is derived from Streambuf to provide I/O with
 * the socket file descriptor.
 */

class Socket;

class Socketbuf : public Streambuf
{
public:
	Socketbuf (Socket* s_);
	virtual ~Socketbuf ();

protected:
	virtual int  sync ();
	virtual int  underflow ();
	virtual int  overflow (int c_ = EOF);
	virtual int  showmanyc ();
	virtual int  doallocate ();

private:
	int  flush_output ();
	int  sys_read  (char* b_, int len_);
	int  sys_write (char* b_, int len_);
	void xput_char (char c_);

private:
	/** Reference to the Socket stream.
	 */
	Socket* m_s;
};

} // end namespace ASSA

#endif /* SOCKET_BUF_H */