Skip to content

Commit

Permalink
include libfastcommon header files start with fastcommon/
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqing committed Jun 29, 2018
1 parent 99526a2 commit b1423a3
Show file tree
Hide file tree
Showing 88 changed files with 2,189 additions and 255 deletions.
12 changes: 6 additions & 6 deletions client/client_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@
#include <errno.h>
#include <time.h>
#include "fdfs_define.h"
#include "logger.h"
#include "fastcommon/logger.h"
#include "fdfs_global.h"
#include "base64.h"
#include "sockopt.h"
#include "shared_func.h"
#include "ini_file_reader.h"
#include "connection_pool.h"
#include "fastcommon/base64.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/shared_func.h"
#include "fastcommon/ini_file_reader.h"
#include "fastcommon/connection_pool.h"
#include "tracker_types.h"
#include "tracker_proto.h"
#include "client_global.h"
Expand Down
2 changes: 1 addition & 1 deletion client/client_func.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "tracker_types.h"
#include "client_global.h"
#include "ini_file_reader.h"
#include "fastcommon/ini_file_reader.h"

#ifndef _CLIENT_FUNC_H_
#define _CLIENT_FUNC_H_
Expand Down
2 changes: 1 addition & 1 deletion client/client_global.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef _CLIENT_GLOBAL_H
#define _CLIENT_GLOBAL_H

#include "common_define.h"
#include "fastcommon/common_define.h"
#include "tracker_types.h"
#include "fdfs_shared_func.h"

Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_append_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fdfs_client.h"
#include "logger.h"
#include "fastcommon/logger.h"

int main(int argc, char *argv[])
{
Expand Down
6 changes: 3 additions & 3 deletions client/fdfs_appender_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include <sys/stat.h>
#include "fdfs_client.h"
#include "fdfs_global.h"
#include "base64.h"
#include "sockopt.h"
#include "logger.h"
#include "fastcommon/base64.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/logger.h"
#include "fdfs_http_shared.h"

int writeToFileCallback(void *arg, const int64_t file_size, const char *data, \
Expand Down
6 changes: 3 additions & 3 deletions client/fdfs_appender_test1.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include <sys/stat.h>
#include "fdfs_client.h"
#include "fdfs_global.h"
#include "base64.h"
#include "sockopt.h"
#include "logger.h"
#include "fastcommon/base64.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/logger.h"
#include "fdfs_http_shared.h"

int writeToFileCallback(void *arg, const int64_t file_size, const char *data, \
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef FDFS_CLIENT_H
#define FDFS_CLIENT_H

#include "shared_func.h"
#include "fastcommon/shared_func.h"
#include "tracker_types.h"
#include "tracker_proto.h"
#include "tracker_client.h"
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_crc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include "hash.h"
#include "fastcommon/hash.h"

int main(int argc, char *argv[])
{
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_delete_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fdfs_client.h"
#include "logger.h"
#include "fastcommon/logger.h"

int main(int argc, char *argv[])
{
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_download_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fdfs_client.h"
#include "logger.h"
#include "fastcommon/logger.h"

int main(int argc, char *argv[])
{
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_file_info.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fdfs_client.h"
#include "logger.h"
#include "fastcommon/logger.h"

int main(int argc, char *argv[])
{
Expand Down
4 changes: 2 additions & 2 deletions client/fdfs_monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <errno.h>
#include <signal.h>
#include <sys/types.h>
#include "sockopt.h"
#include "logger.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/logger.h"
#include "client_global.h"
#include "fdfs_global.h"
#include "fdfs_client.h"
Expand Down
6 changes: 3 additions & 3 deletions client/fdfs_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
#include <sys/stat.h>
#include "fdfs_client.h"
#include "fdfs_global.h"
#include "base64.h"
#include "sockopt.h"
#include "logger.h"
#include "fastcommon/base64.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/logger.h"
#include "fdfs_http_shared.h"

int writeToFileCallback(void *arg, const int64_t file_size, const char *data, \
Expand Down
6 changes: 3 additions & 3 deletions client/fdfs_test1.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
#include <sys/stat.h>
#include "fdfs_client.h"
#include "fdfs_global.h"
#include "base64.h"
#include "fastcommon/base64.h"
#include "fdfs_http_shared.h"
#include "sockopt.h"
#include "logger.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/logger.h"

int writeToFileCallback(void *arg, const int64_t file_size, const char *data, \
const int current_size)
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_upload_appender.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fdfs_client.h"
#include "logger.h"
#include "fastcommon/logger.h"

int main(int argc, char *argv[])
{
Expand Down
2 changes: 1 addition & 1 deletion client/fdfs_upload_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include "fdfs_client.h"
#include "logger.h"
#include "fastcommon/logger.h"

static void usage(char *argv[])
{
Expand Down
8 changes: 4 additions & 4 deletions client/storage_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@
#include <errno.h>
#include <time.h>
#include "fdfs_define.h"
#include "logger.h"
#include "fastcommon/logger.h"
#include "fdfs_global.h"
#include "sockopt.h"
#include "shared_func.h"
#include "fastcommon/sockopt.h"
#include "fastcommon/shared_func.h"
#include "tracker_types.h"
#include "tracker_proto.h"
#include "client_func.h"
#include "tracker_client.h"
#include "storage_client.h"
#include "storage_client1.h"
#include "client_global.h"
#include "base64.h"
#include "fastcommon/base64.h"

static struct base64_context the_base64_context;
static int the_base64_context_inited = 0;
Expand Down
1 change: 0 additions & 1 deletion client/test/fdfs_monitor.c

This file was deleted.

Loading

0 comments on commit b1423a3

Please sign in to comment.