17 lines
291 B
C
17 lines
291 B
C
#pragma once
|
|
#ifndef _SERVER_STATUS
|
|
#define _SERVER_STATUS
|
|
|
|
typedef struct {
|
|
pthread_mutex_t *mtx;
|
|
pthread_cond_t *cond;
|
|
|
|
long max_space_occupied;
|
|
long cur_space_occupied;
|
|
long max_files;
|
|
long cur_files;
|
|
char exiting;
|
|
} serverStatus;
|
|
|
|
#endif /* _SERVER_STATUS */
|