| 1 |
sysadm |
1.4 |
/***************************************************************************
|
| 2 |
|
|
money.h - description
|
| 3 |
|
|
-------------------
|
| 4 |
|
|
Copyright : (C) 2004-2025 by Leaflet
|
| 5 |
|
|
Email : leaflet@leafok.com
|
| 6 |
|
|
***************************************************************************/
|
| 7 |
|
|
|
| 8 |
|
|
/***************************************************************************
|
| 9 |
|
|
* *
|
| 10 |
|
|
* This program is free software; you can redistribute it and/or modify *
|
| 11 |
|
|
* it under the terms of the GNU General Public License as published by *
|
| 12 |
|
|
* the Free Software Foundation; either version 3 of the License, or *
|
| 13 |
|
|
* (at your option) any later version. *
|
| 14 |
|
|
* *
|
| 15 |
|
|
***************************************************************************/
|
| 16 |
|
|
|
| 17 |
sysadm |
1.2 |
#ifndef _MONEY_H_
|
| 18 |
|
|
#define _MONEY_H_
|
| 19 |
sysadm |
1.1 |
|
| 20 |
sysadm |
1.3 |
#define USER_MONEY_MAX 1000000000 // 1 billion
|
| 21 |
|
|
|
| 22 |
|
|
extern int BBS_user_money;
|
| 23 |
|
|
|
| 24 |
|
|
extern int money_balance();
|
| 25 |
|
|
extern int money_deposit(int money);
|
| 26 |
|
|
extern int money_withdraw(int money);
|
| 27 |
|
|
extern int money_refresh(void);
|
| 28 |
|
|
|
| 29 |
sysadm |
1.1 |
#endif
|