
- replace non standard u_char with unsigned char (ANSI) - advice splint to ignore variadic macros - move declarations from the middle to top of functions (C90) - replace local library includes <> to ""
56 lines
1.1 KiB
C
56 lines
1.1 KiB
C
//------------------------------------------------------------------------------
|
|
// Copyright (C) 2010, Raditex AB
|
|
// All rights reserved.
|
|
//
|
|
// rSCADA
|
|
// http://www.rSCADA.se
|
|
// info@rscada.se
|
|
//
|
|
//------------------------------------------------------------------------------
|
|
|
|
/**
|
|
* @file mbus.h
|
|
*
|
|
* @brief Main include file for the Freescada libmbus library.
|
|
*
|
|
* Include this file to access the libmbus API:
|
|
\verbatim
|
|
#include <mbus/mbus.h>
|
|
\endverbatim
|
|
*
|
|
*/
|
|
|
|
/*! \mainpage libmbus
|
|
*
|
|
* These pages contain automatically generated documentation for the libmbus
|
|
* API. For examples on how to use the libmbus library, see the applications
|
|
* in the bin directory in the source code distribution.
|
|
*
|
|
* For more information, see http://www.rscada.se/libmbus
|
|
*
|
|
*/
|
|
|
|
#ifndef _MBUS_H_
|
|
#define _MBUS_H_
|
|
|
|
#include "mbus-protocol.h"
|
|
#include "mbus-protocol-aux.h"
|
|
#include "mbus-tcp.h"
|
|
#include "mbus-serial.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
//
|
|
//
|
|
//
|
|
int mbus_init();
|
|
const char* mbus_get_current_version();
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _MBUS_H_ */
|