/* AUTOMATICALY GENERATED by org.flib.net.CPickle.java */
#ifndef SDOCONFIRMMSG_H
#define SDOCONFIRMMSG_H

#include <fcpickle.h>
#include <sdomsgbase.h>

#ifdef __cplusplus
extern "C" {
#endif

#define  SDOConfirmMsg_MSG_OK 0
#define  SDOConfirmMsg_MSG_ERROR 1
#define  SDOConfirmMsg_MSG_ABORT 2

typedef struct SDOConfirmMsg_t
{
// superclass is the first member of the structure
    SDOMsgBase_t super;
    int32_t type;
    int32_t code;
    const char* errmsg;
} SDOConfirmMsg_t;

void SDOConfirmMsg_init(SDOConfirmMsg_t *o);  //< explicit constructor
int SDOConfirmMsg_getObjectBufferSize(SDOConfirmMsg_t *o);
int SDOConfirmMsg_getPacketBufferSize(SDOConfirmMsg_t *o);
int SDOConfirmMsg_pickleObject(SDOConfirmMsg_t *o, uint8_t *buffer, int buff_len);
int SDOConfirmMsg_unpickleObject(SDOConfirmMsg_t *o, uint8_t *buffer, int buff_len);
int SDOConfirmMsg_toNet(SDOConfirmMsg_t *o, uint8_t *buffer, int buff_len);
int SDOConfirmMsg_fromNet(SDOConfirmMsg_t *o, uint8_t *buffer, int buff_len);

#ifdef __cplusplus
}
#endif

#endif
