Skip to content

Commit 4bd8328

Browse files
committed
modify some file name and directory structure
1 parent 423ff7d commit 4bd8328

28 files changed

Lines changed: 52 additions & 52 deletions

src/brpc/transport_factory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "brpc/transport_factory.h"
1919
#include "brpc/tcp_transport.h"
2020
#include "brpc/rdma_transport.h"
21-
#include "brpc/ub_transport.h"
21+
#include "brpc/ubshm_transport.h"
2222

2323
namespace brpc {
2424
int TransportFactory::ContextInitOrDie(SocketMode mode, bool serverOrNot, const void* _options) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <fcntl.h>
2323
#include <semaphore.h>
2424
#include <pthread.h>
25-
#include "brpc/ubring/common/common.h"
25+
#include "brpc/ubshm/common/common.h"
2626

2727
#ifdef __cplusplus
2828
extern "C" {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
#include <sys/stat.h>
2424
#include <fcntl.h>
2525
#include <errno.h>
26-
#include "brpc/ubring/common/common.h"
27-
#include "brpc/ubring/shm/shm_def.h"
28-
#include "brpc/ubring/shm/shm_ipc.h"
26+
#include "brpc/ubshm/common/common.h"
27+
#include "brpc/ubshm/shm/shm_def.h"
28+
#include "brpc/ubshm/shm/shm_ipc.h"
2929

3030
namespace brpc {
3131
namespace ubring {
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
#include <string.h>
2121
#include <stdbool.h>
2222
#include <stdint.h>
23-
#include "brpc/ubring/common/common.h"
24-
#include "brpc/ubring/shm/shm_ipc.h"
25-
#include "brpc/ubring/shm/shm_ubs.h"
26-
#include "brpc/ubring/shm/shm_mgr.h"
23+
#include "brpc/ubshm/common/common.h"
24+
#include "brpc/ubshm/shm/shm_ipc.h"
25+
#include "brpc/ubshm/shm/shm_ubs.h"
26+
#include "brpc/ubshm/shm/shm_mgr.h"
2727

2828
namespace brpc {
2929
namespace ubring {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#define BRPC_SHM_MGR_H
2020

2121
#include <stdint.h>
22-
#include "brpc/ubring/common/common.h"
23-
#include "brpc/ubring/shm/shm_def.h"
22+
#include "brpc/ubshm/common/common.h"
23+
#include "brpc/ubshm/shm/shm_def.h"
2424

2525
namespace brpc {
2626
namespace ubring {
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
#include <dlfcn.h>
2323
#include <time.h>
2424
#include <gflags/gflags.h>
25-
#include "brpc/ubring/timer/timer_mgr.h"
26-
#include "brpc/ubring/common/thread_lock.h"
27-
#include "brpc/ubring/common/common.h"
28-
#include "brpc/ubring/shm/shm_def.h"
29-
#include "brpc/ubring/ub_ring_manager.h"
30-
#include "brpc/ubring/rack_mem/ubs_mem.h"
31-
#include "brpc/ubring/rack_mem/ubs_mem_def.h"
25+
#include "brpc/ubshm/timer/timer_mgr.h"
26+
#include "brpc/ubshm/common/thread_lock.h"
27+
#include "brpc/ubshm/common/common.h"
28+
#include "brpc/ubshm/shm/shm_def.h"
29+
#include "brpc/ubshm/ub_ring_manager.h"
30+
#include "brpc/ubshm/ubs_mem/ubs_mem.h"
31+
#include "brpc/ubshm/ubs_mem/ubs_mem_def.h"
3232
#ifdef UT
3333
#include "ubs_mem.h"
3434
#endif
@@ -37,7 +37,7 @@
3737
namespace brpc {
3838
namespace ubring {
3939
#define UBRING_MK_UBSM(ret, fn, args) ret (*fn) args = NULL
40-
#include "brpc/ubring/rack_mem/declare_shm_ubs.h"
40+
#include "brpc/ubshm/ubs_mem/declare_shm_ubs.h"
4141
#define SHM_RIGHT_MODE 0666
4242
#define UBRING_REGION_NAME_PREFIX "UbrONE2ALLRegion"
4343
DEFINE_uint32(node_location, 1, "Location of the ub machine.");
@@ -81,7 +81,7 @@ RETURN_CODE UbsShmInterfacesLoad(void)
8181
return UBRING_ERR; \
8282
} \
8383
} while (0)
84-
#include "brpc/ubring/rack_mem/declare_shm_ubs.h"
84+
#include "brpc/ubshm/ubs_mem/declare_shm_ubs.h"
8585

8686
dlclose(dlhandler);
8787
dlhandler = NULL;

0 commit comments

Comments
 (0)