/* * HistoryCommunication.h * mpsLinkProcessor * * Created by Stephen Norum. * Copyright 2008 Stanford Linear Accelerator Center. All rights reserved. * */ #ifndef HISTORYCOMMUNICATION_H #define HISTORYCOMMUNICATION_H #ifdef __cplusplus extern "C" { #endif #include #include enum MPSHistorySpecialValues { MPSHistoryMessageQueueCapacity = 2048, MPSHistoryServerListCapacity = 10, MPSHistoryMaxRetryCount = 3 }; int mpsHistoryAddMessageToQueue(MPSHistoryMessage *historyMessage, int messageLength); void setAllowHistoryMessages(int state); int initializeHistoryCommunication(); #ifdef __cplusplus } #endif #endif