This file is indexed.

/usr/include/buffy/mailfolder/mailbox.h is in libbuffy-dev 1.9.2-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
62
63
64
65
66
67
68
#ifndef BUFFY_MAILBOXMAILFOLDER_H
#define BUFFY_MAILBOXMAILFOLDER_H

/*
 * Mailbox mail folder access
 *
 * Copyright (C) 2004--2008  Enrico Zini <enrico@debian.org>
 *
 * 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
 */

#include <buffy/mailfolder.h>
#include <string>

namespace buffy {
namespace mailfolder {

class Mailbox : public MailFolderImpl
{
protected:
	std::string _name;
	std::string _path;
	int _stat_total;
	int _stat_unread;
	int _stat_new;
	int _stat_flagged;
	int _mbox_mtime;
	int _mbox_size;
	int _deleted;
	
public:
	Mailbox(const std::string& path) throw ();
	Mailbox(const std::string& name, const std::string& path) throw ();
	virtual ~Mailbox() throw () {}

	virtual const std::string& name() const throw () { return _name; }
	virtual const std::string& path() const throw () { return _path; }
	virtual std::string type() const throw () { return "Mailbox"; }

	virtual int getMsgTotal() const throw () { return _stat_total; }
	virtual int getMsgUnread() const throw () { return _stat_unread; }
	virtual int getMsgNew() const throw () { return _stat_new; }
	virtual int getMsgFlagged() const throw () { return _stat_flagged; }

	virtual bool changed();
	virtual void updateStatistics();

	static MailFolder accessFolder(const std::string& path);
	static void enumerateFolders(const std::string& dir, MailFolderConsumer& cons);
};

}
}

// vim:set ts=4 sw=4:
#endif