Skip to content
This repository has been archived by the owner on Dec 26, 2022. It is now read-only.

Commit

Permalink
fix: Rename send mam request/response file names
Browse files Browse the repository at this point in the history
Rename send mam request/response file names to unify with others.
  • Loading branch information
Yu Wei Wu committed Apr 9, 2019
1 parent 6aa9697 commit 53f23fe
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion request/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cc_library(
include_prefix = "request",
visibility = ["//visibility:public"],
deps = [
"@entangled//cclient/types",
"//accelerator:ta_errors",
"@entangled//cclient/types",
],
)
2 changes: 1 addition & 1 deletion request/request.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef REQUEST_REQUEST_H_
#define REQUEST_REQUEST_H_

#include "request/ta_send_mam_req.h"
#include "request/ta_send_mam.h"
#include "request/ta_send_transfer.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion request/ta_send_mam_req.c → request/ta_send_mam.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "ta_send_mam_req.h"
#include "ta_send_mam.h"

send_mam_req_t* send_mam_req_new() {
send_mam_req_t* req = (send_mam_req_t*)malloc(sizeof(send_mam_req_t));
Expand Down
6 changes: 3 additions & 3 deletions request/ta_send_mam_req.h → request/ta_send_mam.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef REQUEST_TA_SEND_MAM_REQ_H_
#define REQUEST_TA_SEND_MAM_REQ_H_
#ifndef REQUEST_TA_SEND_MAM_H_
#define REQUEST_TA_SEND_MAM_H_

#include "accelerator/errors.h"
#include "cclient/types/types.h"
Expand All @@ -21,4 +21,4 @@ void send_mam_req_free(send_mam_req_t** req);
}
#endif

#endif // REQUEST_TA_SEND_MAM_REQ_H_
#endif // REQUEST_TA_SEND_MAM_H_
2 changes: 1 addition & 1 deletion response/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ cc_library(
include_prefix = "response",
visibility = ["//visibility:public"],
deps = [
"//accelerator:ta_errors",
"@entangled//cclient/types",
"@entangled//common/model:transaction",
"//accelerator:ta_errors",
],
)
2 changes: 1 addition & 1 deletion response/response.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include "response/ta_generate_address.h"
#include "response/ta_get_tips.h"
#include "response/ta_get_transaction_object.h"
#include "response/ta_send_mam_res.h"
#include "response/ta_send_mam.h"
#include "response/ta_send_transfer.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion response/ta_send_mam_res.c → response/ta_send_mam.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "ta_send_mam_res.h"
#include "ta_send_mam.h"

send_mam_res_t* send_mam_res_new() {
send_mam_res_t* res = (send_mam_res_t*)malloc(sizeof(send_mam_res_t));
Expand Down
6 changes: 3 additions & 3 deletions response/ta_send_mam_res.h → response/ta_send_mam.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef RESPONSE_TA_SEND_MAM_RES_H_
#define RESPONSE_TA_SEND_MAM_RES_H_
#ifndef RESPONSE_TA_SEND_MAM_H_
#define RESPONSE_TA_SEND_MAM_H_

#include "accelerator/errors.h"
#include "common/model/transaction.h"
Expand Down Expand Up @@ -76,4 +76,4 @@ void send_mam_res_free(send_mam_res_t** res);
}
#endif

#endif // RESPONSE_TA_SEND_MAM_RES_H_
#endif // RESPONSE_TA_SEND_MAM_H_

0 comments on commit 53f23fe

Please sign in to comment.