summaryrefslogtreecommitdiffstats
path: root/src/plugins/afb/AFBRequestImpl.cpp
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2019-10-07 17:04:44 -0400
committerScott Murray <scott.murray@konsulko.com>2019-10-15 11:33:31 -0400
commit54be328d031b3d8be799a2563d944e06c41c66ec (patch)
treef0e8b12ee562c5d5ba58326896c0062d34ab6a0b /src/plugins/afb/AFBRequestImpl.cpp
parent40a0b16e2e4e8b030473254c2f04b4b377bf76f1 (diff)
Switch to appcontroller library
Remove old app-controller submodule usage in favor of library from the toolchain. Also update dynamic API calls for V3. Bug-AGL: SPEC-2856 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: Ida157480f95d0e8b0806a1d9af6cc396f4729850 (cherry picked from commit 0a7e93d37803ba31b18c7199cb1efc10ec83e0cc)
Diffstat (limited to 'src/plugins/afb/AFBRequestImpl.cpp')
-rw-r--r--src/plugins/afb/AFBRequestImpl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/afb/AFBRequestImpl.cpp b/src/plugins/afb/AFBRequestImpl.cpp
index 6e0f177..ab47b3f 100644
--- a/src/plugins/afb/AFBRequestImpl.cpp
+++ b/src/plugins/afb/AFBRequestImpl.cpp
@@ -1,5 +1,6 @@
/*
* Copyright 2018-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ * Copyright 2019 Konsulko Group
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
@@ -16,16 +17,16 @@
#include "afb/AFBRequestImpl.h"
extern "C" {
-#include "afb-definitions.h"
+#include <afb/afb-binding.h>
}
namespace vshlcore {
namespace afb {
-std::unique_ptr<AFBRequestImpl> AFBRequestImpl::create(AFB_ReqT afbRequest) {
+std::unique_ptr<AFBRequestImpl> AFBRequestImpl::create(afb_req_t afbRequest) {
return std::unique_ptr<AFBRequestImpl>(new AFBRequestImpl(afbRequest));
}
-AFBRequestImpl::AFBRequestImpl(AFB_ReqT afbRequest) : mAfbRequest(afbRequest) {
+AFBRequestImpl::AFBRequestImpl(afb_req_t afbRequest) : mAfbRequest(afbRequest) {
}
void* AFBRequestImpl::getNativeRequest() {