Advertisement
ciusss89

main.h

Sep 27th, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.12 KB | None | 0 0
  1. #ifndef MAIN_H
  2. #include <ostream>
  3. #include <sstream>
  4. #include <iostream>
  5. //#include "cir_buf.h"
  6. #include "filesaver.h"
  7. #include "fx2.h"
  8. //#include "if_collect.h"
  9. #include <vector>
  10. #include <stdio.h>
  11. #include <string>
  12. #include <iostream>
  13. //#include <pthread.h>
  14. #include <getopt.h>
  15. #include <ctype.h>
  16. #include <stdio.h>
  17. #include <stdlib.h>
  18. #include <unistd.h>
  19.  
  20.  
  21. //#include <netdb.h>
  22. #include <sys/types.h>
  23. //#include <netinet/in.h>
  24. //#include <sys/socket.h>
  25. //#include <arpa/inet.h>
  26. #include <sys/time.h>
  27.  
  28. #include "linux.h"   // #include <windows.h>
  29.  
  30. #define PORT 1234 // the port client will be connecting to
  31. #define DATA_PORT 1235 //The port where the client will send the data
  32. //#define DEST_IP "127.0.0.1" //Localhost IP
  33. //#define DEST_IP "128.138.94.237"
  34. #define MAXDATASIZE 64000 // max number of bytes we can get at once
  35.  
  36. #define CIRCULAR_BUFFER 0x02
  37. #define NETWORK 0x04
  38. #define FILEBASED_BUFFER 0x08
  39.  
  40.  
  41.  
  42. int main(int argc ,char *argv[]);
  43. int main_loop();
  44. void help_lv(void);
  45. int chk_uid(void);
  46. void get_if_data(Fx2_dev fx2, FileSaver fs);
  47. void get_agc_data(Fx2_dev fx2, FileSaver fs);
  48. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement