Skip to content

Commit

Permalink
change header&hash data type. was: real,double is: log,longint
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbesy committed Jun 13, 2018
1 parent a02353b commit 03939a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/dpi/include/shunt_dpi.h
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ int shunt_dpi_recv_string (int sockid,int size,char** string);
See Also:
- <shunt_prim_hash>
*/
double shunt_dpi_hash(const char *str);
long shunt_dpi_hash(const char *str);

/*
Function: shunt_dpi_send_header
Expand Down Expand Up @@ -789,7 +789,7 @@ int shunt_dpi_recv_header (int sockid,cs_header* h);
- <shunt_cs_send_header>
- <shunt_dpi_recv_data_header>
*/
int shunt_dpi_send_data_header (int sockid,cs_header* h,double data_type,svOpenArrayHandle trnx_payload_sizes);
int shunt_dpi_send_data_header (int sockid,cs_header* h,long data_type,svOpenArrayHandle trnx_payload_sizes);

/*
Function: shunt_dpi_recv_data_header
Expand All @@ -806,7 +806,7 @@ int shunt_dpi_send_data_header (int sockid,cs_header* h,double data_type,svOpenA
- <shunt_cs_recv_data_header>
- <shunt_dpi_send_data_header>
*/
int shunt_dpi_recv_data_header (int sockid,cs_header* h,double* data_type,svOpenArrayHandle** trnx_payload_sizes);
int shunt_dpi_recv_data_header (int sockid,cs_header* h,long* data_type,svOpenArrayHandle** trnx_payload_sizes);

/*
Function: shunt_dpi_hs_send
Expand Down

0 comments on commit 03939a5

Please sign in to comment.