- moved some internal declarations to private header files

- updated version to 0.8.5
This commit is contained in:
Michael Zillgith 2015-02-12 15:46:28 +01:00
parent 6fd4024113
commit 0fb4ed0efc
7 changed files with 22 additions and 18 deletions

View file

@ -11,7 +11,7 @@ project(libiec61850)
set(LIB_VERSION_MAJOR "0")
set(LIB_VERSION_MINOR "8")
set(LIB_VERSION_PATCH "4")
set(LIB_VERSION_PATCH "5")
# feature checks
include(CheckLibraryExists)

View file

@ -131,7 +131,7 @@
/* default results for MMS identify service */
#define CONFIG_DEFAULT_MMS_VENDOR_NAME "libiec61850.com"
#define CONFIG_DEFAULT_MMS_MODEL_NAME "LIBIEC61850"
#define CONFIG_DEFAULT_MMS_REVISION "0.8.4"
#define CONFIG_DEFAULT_MMS_REVISION "0.8.5"
/* MMS virtual file store base path - where file services are looking for files */
#define CONFIG_VIRTUAL_FILESTORE_BASEPATH "./vmd-filestore/"

View file

@ -18,7 +18,7 @@ DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "libIEC61850"
PROJECT_NUMBER = 0.8.4
PROJECT_NUMBER = 0.8.5
PROJECT_BRIEF = "Open-source IEC 61850 MMS/GOOSE server and client library"

View file

@ -30,25 +30,11 @@
extern "C" {
#endif
//TODO move to other file
#define DEFAULT_MAX_SERV_OUTSTANDING_CALLING 5
#define DEFAULT_MAX_SERV_OUTSTANDING_CALLED 5
#define DEFAULT_DATA_STRUCTURE_NESTING_LEVEL 10
#define DEFAULT_MAX_PDU_SIZE 65000
//TODO move to other file - not required in API
typedef enum
{
MMS_ERROR, MMS_INITIATE, MMS_CONFIRMED_REQUEST, MMS_OK, MMS_CONCLUDE
} MmsIndication;
/**
* \addtogroup common_api_group
*/
/**@{*/
typedef enum
{
/* generic error codes */

View file

@ -1,7 +1,7 @@
/*
* mms_common_internal.h
*
* Copyright 2013 Michael Zillgith
* Copyright 2013, 2014, 2015 Michael Zillgith
*
* This file is part of libIEC61850.
*
@ -21,11 +21,24 @@
* See COPYING file for the complete license text.
*/
#ifndef MMS_COMMON_INTERNAL_H_
#define MMS_COMMON_INTERNAL_H_
#include "mms_value.h"
#include "MmsPdu.h"
#include "mms_access_result.h"
#include "conversions.h"
#define DEFAULT_MAX_SERV_OUTSTANDING_CALLING 5
#define DEFAULT_MAX_SERV_OUTSTANDING_CALLED 5
#define DEFAULT_DATA_STRUCTURE_NESTING_LEVEL 10
typedef enum
{
MMS_ERROR, MMS_INITIATE, MMS_CONFIRMED_REQUEST, MMS_OK, MMS_CONCLUDE
} MmsIndication;
MmsValue*
mmsMsg_parseDataElement(Data_t* dataElement);
@ -52,3 +65,6 @@ mmsMsg_copyAsn1IdentifierToStringBuffer(Identifier_t identifier, char* buffer, i
void
mmsMsg_deleteAccessResultList(AccessResult_t** accessResult, int variableCount);
#endif /* MMS_COMMON_INTERNAL */

View file

@ -31,6 +31,7 @@
#include "libiec61850_platform_includes.h"
#include "mms_common.h"
#include "mms_common_internal.h"
#include "mms_device_model.h"
#include "mms_value.h"
#include "mms_server.h"

View file

@ -23,6 +23,7 @@
#include <MmsPdu.h>
#include "mms_common.h"
#include "mms_common_internal.h"
#include "mms_client_connection.h"
#include "byte_buffer.h"