GNUnet  0.10.x
Data Structures | Macros
scalarproduct.h File Reference

Scalar Product API Message Types. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  AliceComputationMessage
 Message type passed from client to service to initiate a request or responder role. More...
 
struct  BobComputationMessage
 Message type passed from client to service to initiate a request or responder role. More...
 
struct  ComputationBobCryptodataMultipartMessage
 multipart messages following struct ComputationMessage More...
 
struct  ClientResponseMessage
 Message type passed from service client to finalize a session as requester or responder. More...
 

Macros

#define LOG_GCRY(level, cmd, rc)   do { LOG(level, _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0)
 Log an error message at log-level 'level' that indicates a failure of the command 'cmd' with the message given by gcry_strerror(rc). More...
 

Detailed Description

Scalar Product API Message Types.

Author
Christian M. Fuchs

Definition in file scalarproduct.h.

Macro Definition Documentation

◆ LOG_GCRY

#define LOG_GCRY (   level,
  cmd,
  rc 
)    do { LOG(level, _("`%s' failed at %s:%d with error: %s\n"), cmd, __FILE__, __LINE__, gcry_strerror(rc)); } while(0)

Log an error message at log-level 'level' that indicates a failure of the command 'cmd' with the message given by gcry_strerror(rc).

Definition at line 35 of file scalarproduct.h.

Referenced by process_result_message(), requester_callback(), and transmit_client_response().