/usr/include/foxeye/list.h is in foxeye-dev 0.12.0-1build1.
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 | /*
* Copyright (C) 1999-2011 Andrej N. Gritsenko <andrej@rep.kiev.ua>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This file is part of FoxEye's source: the Listfile API.
*/
#ifndef _LIST_H
#define _LIST_H 1
typedef short lid_t;
#define LID_MIN SHRT_MIN
#define LID_MAX SHRT_MAX
/* special lids */
#define ID_REM -1 /* removed id */
#define ID_ME 0 /* my own id */
#define ID_ANY 150 /* any user/channel/service */
int Get_Clientlist (INTERFACE *, userflag, const char *, const char *);
int Get_Hostlist (INTERFACE *, lid_t);
int Get_Fieldlist (INTERFACE *, lid_t);
unsigned short Get_Hosthash (const char *, const char *)
__attribute__((warn_unused_result));
userflag Match_Client (const char *, const char *, const char *)
__attribute__((warn_unused_result));
userflag Get_Clientflags (const char *, const char *)
__attribute__((warn_unused_result));
struct clrec_t *Find_Clientrecord (const uchar *, const char **, userflag *,
const char *) __attribute__((warn_unused_result));
struct clrec_t *Lock_Clientrecord (const char *)
__attribute__((warn_unused_result));
char *Get_Field (struct clrec_t *, const char *, time_t *)
__attribute__((warn_unused_result));
int Set_Field (struct clrec_t *, const char *, const char *, time_t);
int Grow_Field (struct clrec_t *, const char *, const char *);
userflag Get_Flags (struct clrec_t *, const char *)
__attribute__((warn_unused_result));
userflag Set_Flags (struct clrec_t *, const char *, userflag);
int Add_Mask (struct clrec_t *, const uchar *)
__attribute__((warn_unused_result));
int Delete_Mask (struct clrec_t *, const uchar *)
__attribute__((warn_unused_result));
void Unlock_Clientrecord (struct clrec_t *);
lid_t FindLID (const char *) __attribute__((warn_unused_result)); /* Lname -> LID */
lid_t Get_LID (struct clrec_t *) __attribute__((warn_unused_result));
struct clrec_t *Lock_byLID (lid_t) __attribute__((warn_unused_result));
char *userflagtostr (userflag, char *);
#endif
|