| 1 | /* |
| 2 | * Copyright (C) 2004 Dizzy |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * as published by the Free Software Foundation; either version 2 |
| 7 | * of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This program is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | * GNU General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU General Public License |
| 15 | * along with this program; if not, write to the Free Software |
| 16 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 17 | */ |
| 18 | |
| 19 | #ifndef __ATTRLAYER_H_INCLUDED__ |
| 20 | #define __ATTRLAYER_H_INCLUDED__cxx . . $ `src/bnetd/attrlayer.h:20:9`! |
| 21 | |
| 22 | #include "common/elist.h"cxx . . $ `<file>/src/common/elist.h`/ |
| 23 | #include "attrgroup.h"cxx . . $ `<file>/src/bnetd/attrgroup.h`/ |
| 24 | |
| 25 | /* flags controlling flush/save operations */ |
| 26 | #define FS_NONEcxx . . $ `src/bnetd/attrlayer.h:26:9`! 0 |
| 27 | #define FS_FORCEcxx . . $ `src/bnetd/attrlayer.h:27:9`! 1 /* force save/flush no matter of time */ |
| 28 | #define FS_ALLcxx . . $ `src/bnetd/attrlayer.h:28:9`! 2 /* save/flush all, not in steps */ |
| 29 | |
| 30 | namespace pvpgncxx . . $ pvpgn/ |
| 31 | { |
| 32 | |
| 33 | namespace bnetdcxx . . $ pvpgn/bnetd/ |
| 34 | { |
| 35 | |
| 36 | extern int attrlayer_initcxx . . $ pvpgn/bnetd/attrlayer_init(b126dc7c1de90089).(void); |
| 37 | extern int attrlayer_cleanupcxx . . $ pvpgn/bnetd/attrlayer_cleanup(b126dc7c1de90089).(void); |
| 38 | extern int attrlayer_load_defaultcxx . . $ pvpgn/bnetd/attrlayer_load_default(b126dc7c1de90089).(void); |
| 39 | extern int attrlayer_savecxx . . $ pvpgn/bnetd/attrlayer_save(7864480464b09eea).(int flags); |
| 40 | extern int attrlayer_flushcxx . . $ pvpgn/bnetd/attrlayer_flush(7864480464b09eea).(int flags); |
| 41 | extern t_attrgroupcxx . . $ pvpgn/bnetd/t_attrgroup# * attrlayer_get_defattrgroupcxx . . $ pvpgn/bnetd/attrlayer_get_defattrgroup(cfe99ecc31eb29d3).(void); |
| 42 | extern void attrlayer_add_loadedlistcxx . . $ pvpgn/bnetd/attrlayer_add_loadedlist(c14d3311d3358512).(t_elistcxx . . $ pvpgn/t_elist# *what); |
| 43 | extern void attrlayer_del_loadedlistcxx . . $ pvpgn/bnetd/attrlayer_del_loadedlist(c14d3311d3358512).(t_elistcxx . . $ pvpgn/t_elist# *what); |
| 44 | extern void attrlayer_add_dirtylistcxx . . $ pvpgn/bnetd/attrlayer_add_dirtylist(c14d3311d3358512).(t_elistcxx . . $ pvpgn/t_elist# *what); |
| 45 | extern void attrlayer_del_dirtylistcxx . . $ pvpgn/bnetd/attrlayer_del_dirtylist(c14d3311d3358512).(t_elistcxx . . $ pvpgn/t_elist# *what); |
| 46 | extern void attrlayer_accessedcxx . . $ pvpgn/bnetd/attrlayer_accessed(4d6018b0ff3f0bbd).(t_attrgroupcxx . . $ pvpgn/bnetd/t_attrgroup#* attrgroup); |
| 47 | |
| 48 | } |
| 49 | |
| 50 | } |
| 51 | |
| 52 | #endif /* __ATTRLAYER_H_INCLUDED__ */ |