Skip to content
Snippets Groups Projects
Select Git revision
  • a5071fc0be9e2c9bb5c0532b28cf4dfd3dc37bdf
  • master default
  • anders.blomdell
  • typeref
  • pragma
  • compiler-refactoring
  • labcomm2013
  • v2014.1
  • v2014.0
  • v2013.0
10 results

udp_encoder.c

Blame
  • Forked from Anders Blomdell / LabComm
    Source project has a limited visibility.
    labcomm_error.h 924 B
    #ifndef __LABCOMM_ERROR_H__
    #define __LABCOMM_ERROR_H__
    
    enum labcomm_error {
    #define LABCOMM_ERROR(name, description) name ,
    #include "labcomm_error.h"
    #undef LABCOMM_ERROR
    };
    
    struct labcomm_error_handler;
    
    #endif
    
    #ifdef LABCOMM_ERROR
    
    LABCOMM_ERROR(LABCOMM_ERROR_ENC_NO_REG_SIGNATURE, 
    	      "Encoder has no registration for this signature")
    LABCOMM_ERROR(LABCOMM_ERROR_ENC_BUF_FULL,
    	      "The labcomm buffer is full")
    LABCOMM_ERROR(LABCOMM_ERROR_DEC_UNKNOWN_DATATYPE,
    	      "Decoder: Unknown datatype")
    LABCOMM_ERROR(LABCOMM_ERROR_DEC_INDEX_MISMATCH, 
    	      "Decoder: index mismatch")
    LABCOMM_ERROR(LABCOMM_ERROR_DEC_TYPE_NOT_FOUND,
    	      "Decoder: type not found")
    LABCOMM_ERROR(LABCOMM_ERROR_UNIMPLEMENTED_FUNC,
    	      "This function is not yet implemented")
    LABCOMM_ERROR(LABCOMM_ERROR_MEMORY,
    	      "Could not allocate memory")
    LABCOMM_ERROR(LABCOMM_ERROR_USER_DEF,     
    	      "User defined error")
    
    #endif