Skip to content

Commit

Permalink
rgw: modelines
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Jul 10, 2014
1 parent 0839e2a commit 115c078
Show file tree
Hide file tree
Showing 84 changed files with 236 additions and 3 deletions.
3 changes: 3 additions & 0 deletions src/rgw/rgw_acl.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

#include <iostream>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_acl.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_ACL_H
#define CEPH_RGW_ACL_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_acl_s3.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

#include <iostream>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_acl_s3.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_ACL_S3_H
#define CEPH_RGW_ACL_S3_H

Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_acl_swift.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_acl_swift.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_ACL_SWIFT_H
#define CEPH_RGW_ACL_SWIFT_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_aclparser.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

#include "common/ceph_context.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_admin.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>
#include <iostream>
#include <sstream>
Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_auth_s3.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "common/armor.h"
#include "rgw_common.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_auth_s3.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_AUTH_S3_H
#define CEPH_RGW_AUTH_S3_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_bucket.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>

#include <string>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_bucket.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_BUCKET_H
#define CEPH_RGW_BUCKET_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_cache.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_cache.h"

#include <errno.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_cache.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGWCACHE_H
#define CEPH_RGWCACHE_H

Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_civetweb.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_civetweb.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_MONGOOSE_H
#define CEPH_RGW_MONGOOSE_H

Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_client_io.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <stdio.h>
#include <stdlib.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_client_io.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_CLIENT_IO_H
#define CEPH_RGW_CLIENT_IO_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_common.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>

#include "json_spirit/json_spirit.h"
Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_dencoder.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_common.h"
#include "rgw_rados.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_env.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_common.h"
#include "rgw_log.h"

Expand Down
3 changes: 2 additions & 1 deletion src/rgw/rgw_fcgi.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_fcgi.h"

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_fcgi.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_FCGI_H
#define CEPH_RGW_FCGI_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_formats.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_FORMATS_H
#define CEPH_RGW_FORMATS_H

Expand Down
3 changes: 2 additions & 1 deletion src/rgw/rgw_gc.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_gc.h"
#include "include/rados/librados.hpp"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_gc.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_GC_H
#define CEPH_RGW_GC_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_http_client.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <curl/curl.h>
#include <curl/easy.h>
#include <curl/multi.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_http_client.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_HTTP_CLIENT_H
#define CEPH_RGW_HTTP_CLIENT_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_http_errors.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef RGW_HTTP_ERRORS_H_
#define RGW_HTTP_ERRORS_H_

Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_json_enc.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_common.h"
#include "rgw_rados.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_jsonparser.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>
#include <string.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_keystone.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>
#include <fnmatch.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_keystone.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_KEYSTONE_H
#define CEPH_RGW_KEYSTONE_H

Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_loadgen.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_loadgen.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_LOADGEN_H
#define CEPH_RGW_LOADGEN_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_log.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "common/Clock.h"
#include "common/Timer.h"
#include "common/utf8.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_log.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_LOG_H
#define CEPH_RGW_LOG_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_main.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Expand Down
3 changes: 2 additions & 1 deletion src/rgw/rgw_metadata.cc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "common/ceph_json.h"
#include "rgw_metadata.h"
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_metadata.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_METADATA_H
#define CEPH_RGW_METADATA_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_multi.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

#include <iostream>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_multi.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_MULTI_H
#define CEPH_RGW_MULTI_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_multi_del.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

#include <iostream>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_multi_del.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef RGW_MULTI_DELETE_H_
#define RGW_MULTI_DELETE_H_

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_multiparser.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <string.h>

#include <iostream>
Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_op.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>
#include <stdlib.h>
Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_policy_s3.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_policy_s3.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_POLICY_H
#define CEPH_RGW_POLICY_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_rados.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>
#include <stdlib.h>
#include <sys/types.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_rados.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGWRADOS_H
#define CEPH_RGWRADOS_H

Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_replica_log.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
Expand Down
2 changes: 2 additions & 0 deletions src/rgw/rgw_replica_log.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab
/*
* Ceph - scalable distributed file system
*
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_resolve.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_resolve.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_RESOLVE_H
#define CEPH_RGW_RESOLVE_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_rest.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include <errno.h>
#include <limits.h>

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_rest.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_REST_H
#define CEPH_RGW_REST_H
#define TIME_BUF_SIZE 128
Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_rest_admin.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#ifndef CEPH_RGW_REST_ADMIN_H
#define CEPH_RGW_REST_ADMIN_H

Expand Down
3 changes: 3 additions & 0 deletions src/rgw/rgw_rest_bucket.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "rgw_op.h"
#include "rgw_bucket.h"
#include "rgw_rest_bucket.h"
Expand Down
Loading

0 comments on commit 115c078

Please sign in to comment.