requests.h 751 B

1234567891011121314151617181920212223
  1. #include "PassiveSocket.h"
  2. #include "requests.cpp"
  3. void ShowError(CSimpleSocket ss, string s);
  4. void get_API_version (CActiveSocket& SocketActive);
  5. void get_sw_revision(CActiveSocket& SocketActive);
  6. void get_gru_state(CActiveSocket& SocketActive);
  7. void socket_close(CActiveSocket SocketActive);
  8. vector <int32_t> get_unloaded_num(vector<int32_t> segment_status);
  9. void upload_segment(CActiveSocket &SocketActive, int32_t seg_num, bool need_confirm, vector<vector<int32_t>> nodes);
  10. void upload_traj(CActiveSocket& SocketActive, vector<vector<int32_t>> nodes);
  11. vector <int32_t> download_traject (CActiveSocket &SocketActive, int32_t points_cnt);
  12. vector<vector<int32_t>> get_nodes(const string& Traject_file_name);
  13. string hex_converting(int num);