tahamajs/OS / Files /past_terms /Operating-System-Course-Projects /1.Socket-Programming-Auction /src /buyer.h
| struct BuyerAdInfo { | |
| int id; | |
| char* msg_body; | |
| char* port; | |
| enum ad_stat_t { waiting, | |
| in_progress, | |
| expired } status; | |
| char* unique_id; | |
| struct BuyerAdInfo* next; | |
| struct BuyerAdInfo* prev; | |
| }; | |
| struct BuyerOffer { | |
| char* offer; | |
| struct BuyerAdInfo* related_ad; | |
| }; | |
| struct BuyerInfo { | |
| char* name; | |
| char* listen_port_; | |
| int broadcast_fd; | |
| struct BuyerAdsList { | |
| struct BuyerAdInfo* begin; | |
| struct BuyerAdInfo* end; | |
| } ads_list; | |
| struct ReadFDs { | |
| fd_set fds; | |
| int max_fd; | |
| } read_fds; | |
| }; | |
Xet Storage Details
- Size:
- 721 Bytes
- Xet hash:
- 5437a389deaa4f79760a78a100e53acd1426a3309d28086caee2c32786fac99a
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.