* Changed header file include guards to unique namespace. Updated file headers comments with SPDX [issue #55] (#666)

This commit is contained in:
Steve Karg
2024-07-19 17:16:28 -05:00
committed by GitHub
parent 1e889b633c
commit 00ab206075
355 changed files with 2597 additions and 8082 deletions
+1 -2
View File
@@ -3,8 +3,7 @@
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2013
* @brief Store properties from other BACnet devices
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include <stdbool.h>
+4 -4
View File
@@ -1,12 +1,12 @@
/**
* @file
* @brief API for basic BACnet data handling
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2013
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#ifndef BAC_DATA_H
#define BAC_DATA_H
#ifndef BACNET_BASIC_CLIENT_DATA_H
#define BACNET_BASIC_CLIENT_DATA_H
#include <stdint.h>
/* BACnet Stack defines - first */
+2 -3
View File
@@ -1,10 +1,9 @@
/**
* @file
* @brief Discover all BACnet devices on a destination network
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2024
* @brief Discover all BACnet devices on a destination network
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include <stdbool.h>
+7 -8
View File
@@ -1,13 +1,12 @@
/**
* @file
* @brief API for basic BACnet client device discovery
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2024
*
* SPDX-License-Identifier: MIT
* @copyright SPDX-License-Identifier: MIT
*/
#ifndef BAC_DISCOVER_H
#define BAC_DISCOVER_H
#ifndef BACNET_BASIC_CLIENT_DISCOVER_H
#define BACNET_BASIC_CLIENT_DISCOVER_H
#include <stdbool.h>
#include <stdint.h>
/* BACnet Stack defines - first */
@@ -48,7 +47,7 @@ uint32_t bacnet_discover_device_instance(unsigned index);
BACNET_STACK_EXPORT
int bacnet_discover_device_object_count(uint32_t device_id);
BACNET_STACK_EXPORT
bool bacnet_discover_device_object_identifier(uint32_t device_id,
bool bacnet_discover_device_object_identifier(uint32_t device_id,
unsigned index, BACNET_OBJECT_ID *object_id);
BACNET_STACK_EXPORT
unsigned long bacnet_discover_device_elapsed_milliseconds(
@@ -63,10 +62,10 @@ unsigned int bacnet_discover_object_property_count(
uint32_t object_instance);
BACNET_STACK_EXPORT
bool bacnet_discover_object_property_identifier(
uint32_t device_id,
uint32_t device_id,
BACNET_OBJECT_TYPE object_type,
uint32_t object_instance,
unsigned index,
unsigned index,
uint32_t *property_id);
BACNET_STACK_EXPORT
bool bacnet_discover_property_value(uint32_t device_id,
+3 -4
View File
@@ -1,10 +1,9 @@
/**
* @file
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2013
* @brief Read properties from other BACnet devices, and store their values
*
* SPDX-License-Identifier: MIT
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2022
* @copyright SPDX-License-Identifier: MIT
*/
#include <stdint.h>
#include <stdbool.h>
+5 -6
View File
@@ -1,13 +1,12 @@
/**
* @file
* @brief API to read properties from other BACnet devices
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2013
*
* SPDX-License-Identifier: MIT
* @date 2022
* @copyright SPDX-License-Identifier: MIT
*/
#ifndef BAC_RW_H
#define BAC_RW_H
#ifndef BACNET_BASIC_CLIENT_READ_WRITE_H
#define BACNET_BASIC_CLIENT_READ_WRITE_H
#include <stdint.h>
/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"
+3 -4
View File
@@ -1,10 +1,9 @@
/**
* @file
* @author Steve Karg
* @date 2013
* @brief High level BACnet Task handling
*
* SPDX-License-Identifier: MIT
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2022
* @copyright SPDX-License-Identifier: MIT
*/
#include <stddef.h>
#include <stdint.h>
+6 -8
View File
@@ -1,14 +1,12 @@
/**
* @file
* @author Steve Karg
* @date 2013
* @brief High level BACnet task handling
*
* SPDX-License-Identifier: MIT
* @brief API for high level BACnet Task handling
* @author Steve Karg <skarg@users.sourceforge.net>
* @date 2022
* @copyright SPDX-License-Identifier: MIT
*/
#ifndef BACNET_TASK_H
#define BACNET_TASK_H
#ifndef BACNET_BASIC_CLIENT_TASK_H
#define BACNET_BASIC_CLIENT_TASK_H
#include <stdint.h>
/* BACnet Stack defines - first */
#include "bacnet/bacdef.h"