|
Last change
on this file was
6656,
checked in by westram, 16 years ago
|
- removed unneeded 'struct' keyword
- renamed several structs (especially things like 'blabla_struct')
|
|
File size:
971 bytes
|
| Line | |
|---|
| 1 | // =============================================================== // |
|---|
| 2 | // // |
|---|
| 3 | // File : gb_comm.h // |
|---|
| 4 | // Purpose : // |
|---|
| 5 | // // |
|---|
| 6 | // Institute of Microbiology (Technical University Munich) // |
|---|
| 7 | // http://www.arb-home.de/ // |
|---|
| 8 | // // |
|---|
| 9 | // =============================================================== // |
|---|
| 10 | |
|---|
| 11 | #ifndef GB_COMM_H |
|---|
| 12 | #define GB_COMM_H |
|---|
| 13 | |
|---|
| 14 | struct gbcmc_comm { |
|---|
| 15 | int socket; |
|---|
| 16 | char *unix_name; |
|---|
| 17 | char *error; |
|---|
| 18 | }; |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | struct gb_user { |
|---|
| 22 | char *username; |
|---|
| 23 | int userid; |
|---|
| 24 | int userbit; |
|---|
| 25 | int nusers; // number of clients of this user |
|---|
| 26 | }; |
|---|
| 27 | |
|---|
| 28 | #else |
|---|
| 29 | #error gb_comm.h included twice |
|---|
| 30 | #endif // GB_COMM_H |
|---|
Note: See
TracBrowser
for help on using the repository browser.