Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi-minifi-cpp/pull/327#discussion_r189354320
--- Diff: libminifi/include/capi/api.h ---
@@ -18,27 +18,32 @@
#ifndef LIBMINIFI_INCLUDE_CAPI_NANOFI_H_
#define LIBMINIFI_INCLUDE_CAPI_NANOFI_H_
+#include <stddef.h>
#include <stdint.h>
+#include "processors.h"
+
+int initialize_api();
#ifdef __cplusplus
extern "C" {
#endif
#define API_VERSION "0.01"
+
+void enable_logging();
+
/****
* ##################################################################
* BASE NIFI OPERATIONS
* ##################################################################
*/
-
/**
* NiFi Port struct
*/
typedef struct {
- char *pord_id;
-}nifi_port;
-
+ char *pord_id;
--- End diff --
-> port_id
---