From 521e830fe336a17bee6e7376e3bf01a3b35ddc37 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Wed, 16 Dec 2009 11:03:49 -0800 Subject: [PATCH] Updated copyright headers. --- AUTHORS | 1 + clients/client_options.h | 11 +++++++++++ clients/execute.c | 11 +++++++++++ clients/execute.h | 11 +++++++++++ clients/generator.c | 11 +++++++++++ clients/generator.h | 11 +++++++++++ clients/memcapable.c | 11 +++++++++++ clients/memcat.c | 11 +++++++++++ clients/memcp.c | 11 +++++++++++ clients/memdump.c | 11 +++++++++++ clients/memerror.c | 11 +++++++++++ clients/memflush.c | 11 +++++++++++ clients/memrm.c | 11 +++++++++++ clients/memstat.c | 14 ++++++++++++++ clients/ms_atomic.h | 11 +++++++++++ clients/utilities.c | 11 +++++++++++ clients/utilities.h | 11 +++++++++++ libmemcached/Makefile.am | 1 + libmemcached/byteorder.c | 11 +++++++++++ libmemcached/byteorder.h | 11 +++++++++++ libmemcached/common.h | 11 +++++++++++ libmemcached/libmemcached_probes.h | 11 +++++++++++ libmemcached/memcached.h | 10 +--------- libmemcached/memcached_callback.c | 17 ++++++++++++++--- libmemcached/memcached_constants.h | 11 +++++++---- libmemcached/memcached_get.c | 11 +++++++++++ libmemcached/memcached_get.h | 11 +++++++---- libmemcached/memcached_internal.h | 10 +++++++--- libmemcached/memcached_io.c | 14 +++++++++++--- libmemcached/memcached_pool.h | 12 ++++++++---- libmemcached/memcached_result.c | 11 +++++++++++ libmemcached/memcached_result.h | 11 +++++++---- libmemcached/memcached_server.c | 11 +++++++++++ libmemcached/memcached_server.h | 11 +++++++---- libmemcached/memcached_storage.c | 17 ++++++++++------- libmemcached/memcached_storage.h | 11 +++++++---- libmemcached/memcached_string.c | 2 ++ libmemcached/memcached_util.h | 13 +++++++++---- libmemcached/memcached_watchpoint.h | 11 +++++++---- libmemcached/protocol_handler.h | 12 +++++++++--- libmemcached/visibility.h | 15 +++++++++------ tests/atomsmasher.c | 11 +++++++++++ tests/ketama_test_cases.h | 8 ++++++++ tests/ketama_test_cases_spy.h | 8 ++++++++ tests/server.c | 11 +++++++++++ tests/server.h | 8 ++++++++ tests/start.c | 11 +++++++++++ tests/udp.c | 11 +++++++++++ 48 files changed, 448 insertions(+), 66 deletions(-) diff --git a/AUTHORS b/AUTHORS index 24dbad1d..6e740f96 100644 --- a/AUTHORS +++ b/AUTHORS @@ -8,3 +8,4 @@ Yin Chen, -- Ketama Work Toru Maesaka, dev@torum.net -- Stats analysis Eric Lambert, -- UDP work Monty Taylor, -- Build Releated (Pandora) +Mingqiang Zhuang, Schooner Information Technology, Inc. -- Rewrite of memslap diff --git a/clients/client_options.h b/clients/client_options.h index a4f0f47f..955bcd18 100644 --- a/clients/client_options.h +++ b/clients/client_options.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #ifndef __CLIENT_OPTIONS_H__ #define __CLIENT_OPTIONS_H__ diff --git a/clients/execute.c b/clients/execute.c index 3944d449..130fef0b 100644 --- a/clients/execute.c +++ b/clients/execute.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* Execute a memcached_set() a set of pairs. Return the number of rows set. diff --git a/clients/execute.h b/clients/execute.h index 7a2c5511..ba54d8d2 100644 --- a/clients/execute.h +++ b/clients/execute.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #ifndef CLIENTS_EXECUTE_H #define CLIENTS_EXECUTE_H #include "libmemcached/memcached.h" diff --git a/clients/generator.c b/clients/generator.c index 5bce0301..2af06010 100644 --- a/clients/generator.c +++ b/clients/generator.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include diff --git a/clients/generator.h b/clients/generator.h index 4897e943..196e71b2 100644 --- a/clients/generator.h +++ b/clients/generator.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* Code to generate data to be pushed into memcached */ diff --git a/clients/memcapable.c b/clients/memcapable.c index f1d7d6a4..c70afa33 100644 --- a/clients/memcapable.c +++ b/clients/memcapable.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* -*- Mode: C; tab-width: 2; c-basic-offset: 2; indent-tabs-mode: nil -*- */ #undef NDEBUG #include "config.h" diff --git a/clients/memcat.c b/clients/memcat.c index 9ea6f33b..2f46ee90 100644 --- a/clients/memcat.c +++ b/clients/memcat.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/memcp.c b/clients/memcp.c index bdab6b09..d9594d78 100644 --- a/clients/memcp.c +++ b/clients/memcp.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/memdump.c b/clients/memdump.c index 4705bcad..582939fa 100644 --- a/clients/memdump.c +++ b/clients/memdump.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/memerror.c b/clients/memerror.c index fbad55ba..24798a00 100644 --- a/clients/memerror.c +++ b/clients/memerror.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/memflush.c b/clients/memflush.c index bc12ae8d..885aa6c8 100644 --- a/clients/memflush.c +++ b/clients/memflush.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/memrm.c b/clients/memrm.c index 1a616482..e7525fd5 100644 --- a/clients/memrm.c +++ b/clients/memrm.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/memstat.c b/clients/memstat.c index 8e007753..c8769d52 100644 --- a/clients/memstat.c +++ b/clients/memstat.c @@ -1,3 +1,17 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + * Authors: + * Brian Aker + * Toru Maesaka + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/ms_atomic.h b/clients/ms_atomic.h index c833ea8b..ca117df8 100644 --- a/clients/ms_atomic.h +++ b/clients/ms_atomic.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #ifndef CLIENTS_MS_ATOMIC_H #define CLIENTS_MS_ATOMIC_H diff --git a/clients/utilities.c b/clients/utilities.c index 53a366b2..0c286b70 100644 --- a/clients/utilities.c +++ b/clients/utilities.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "libmemcached/common.h" #include #include diff --git a/clients/utilities.h b/clients/utilities.h index 7ca92497..f55997a5 100644 --- a/clients/utilities.h +++ b/clients/utilities.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include #include #include "client_options.h" diff --git a/libmemcached/Makefile.am b/libmemcached/Makefile.am index 66c142bf..80db3505 100644 --- a/libmemcached/Makefile.am +++ b/libmemcached/Makefile.am @@ -22,6 +22,7 @@ pkginclude_HEADERS= memcached.h \ memcached.hpp \ exception.hpp \ memcached_behavior.h \ + memcached_callback.h \ memcached_configure.h \ memcached_constants.h \ memcached_get.h \ diff --git a/libmemcached/byteorder.c b/libmemcached/byteorder.c index 24f8e8c6..4b6eeb07 100644 --- a/libmemcached/byteorder.c +++ b/libmemcached/byteorder.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include "byteorder.h" /* Byte swap a 64-bit number. */ diff --git a/libmemcached/byteorder.h b/libmemcached/byteorder.h index 99e9f5d1..17e66a78 100644 --- a/libmemcached/byteorder.h +++ b/libmemcached/byteorder.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #ifndef LIBMEMCACHED_BYTEORDER_H #define LIBMEMCACHED_BYTEORDER_H diff --git a/libmemcached/common.h b/libmemcached/common.h index 596accaa..3a08ffca 100644 --- a/libmemcached/common.h +++ b/libmemcached/common.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* Common include file for libmemached */ diff --git a/libmemcached/libmemcached_probes.h b/libmemcached/libmemcached_probes.h index b441a047..ddc9ef47 100644 --- a/libmemcached/libmemcached_probes.h +++ b/libmemcached/libmemcached_probes.h @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* * This file contains the definition of the various probes supported by * libmemcached. Currently it only support DTRACE, but just create an diff --git a/libmemcached/memcached.h b/libmemcached/memcached.h index a79e27ed..119c4607 100644 --- a/libmemcached/memcached.h +++ b/libmemcached/memcached.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -321,15 +322,6 @@ memcached_return_t memcached_fetch_execute(memcached_st *ptr, void *context, unsigned int number_of_callbacks); -LIBMEMCACHED_API -memcached_return_t memcached_callback_set(memcached_st *ptr, - memcached_callback_t flag, - void *data); -LIBMEMCACHED_API -void *memcached_callback_get(memcached_st *ptr, - memcached_callback_t flag, - memcached_return_t *error); - LIBMEMCACHED_API memcached_return_t memcached_dump(memcached_st *ptr, memcached_dump_fn *function, void *context, uint32_t number_of_callbacks); diff --git a/libmemcached/memcached_callback.c b/libmemcached/memcached_callback.c index 618bedf4..b0ddfc2b 100644 --- a/libmemcached/memcached_callback.c +++ b/libmemcached/memcached_callback.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Change any of the possible callbacks. + * + */ + #include "common.h" #include #include @@ -65,19 +76,19 @@ memcached_return_t memcached_callback_set(memcached_st *ptr, #ifdef MEMCACHED_ENABLE_DEPRECATED case MEMCACHED_CALLBACK_MALLOC_FUNCTION: { - memcached_malloc_function func= *(memcached_malloc_function *)&data; + memcached_malloc_function func= *(memcached_malloc_fn *)&data; ptr->call_malloc= func; break; } case MEMCACHED_CALLBACK_REALLOC_FUNCTION: { - memcached_realloc_function func= *(memcached_realloc_function *)&data; + memcached_realloc_function func= *(memcached_realloc_fn *)&data; ptr->call_realloc= func; break; } case MEMCACHED_CALLBACK_FREE_FUNCTION: { - memcached_free_function func= *(memcached_free_function *)&data; + memcached_free_function func= *(memcached_free_fn *)&data; ptr->call_free= func; break; } diff --git a/libmemcached/memcached_constants.h b/libmemcached/memcached_constants.h index 09c6040c..cbdbf4b5 100644 --- a/libmemcached/memcached_constants.h +++ b/libmemcached/memcached_constants.h @@ -1,9 +1,12 @@ -/* - * Summary: Constants for libmemcached +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. * - * Copy: See Copyright for the status of this software. + * Summary: Constants for libmemcached * - * Author: Brian Aker */ #ifndef __MEMCACHED_CONSTANTS_H__ diff --git a/libmemcached/memcached_get.c b/libmemcached/memcached_get.c index 094c65b8..27a1410e 100644 --- a/libmemcached/memcached_get.c +++ b/libmemcached/memcached_get.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Get functions for libmemcached + * + */ + #include "common.h" #include "memcached_io.h" diff --git a/libmemcached/memcached_get.h b/libmemcached/memcached_get.h index 905f9857..bb04a154 100644 --- a/libmemcached/memcached_get.h +++ b/libmemcached/memcached_get.h @@ -1,9 +1,12 @@ -/* - * Summary: Get functions for libmemcached +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. * - * Copy: See Copyright for the status of this software. + * Summary: Get functions for libmemcached * - * Author: Brian Aker */ #ifndef LIBMEMCACHED_MEMCACHED_GET_H diff --git a/libmemcached/memcached_internal.h b/libmemcached/memcached_internal.h index 52fb4c1f..3e4415dd 100644 --- a/libmemcached/memcached_internal.h +++ b/libmemcached/memcached_internal.h @@ -1,8 +1,12 @@ -/* +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * * Summary: Internal functions used by the library. Not for public use! - * Copy: See Copyright for the status of this software. * - * Author: Trond Norbye */ #ifndef LIBMEMCACHED_MEMCACHED_INTERNAL_H diff --git a/libmemcached/memcached_io.c b/libmemcached/memcached_io.c index fe534c90..fd86437f 100644 --- a/libmemcached/memcached_io.c +++ b/libmemcached/memcached_io.c @@ -1,6 +1,14 @@ -/* - Basic socket buffered IO -*/ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Server IO, Not public! + * + */ + #include "common.h" #include "memcached_io.h" diff --git a/libmemcached/memcached_pool.h b/libmemcached/memcached_pool.h index 967d768d..84dab3dd 100644 --- a/libmemcached/memcached_pool.h +++ b/libmemcached/memcached_pool.h @@ -1,11 +1,15 @@ -/* - * Summary: Connection pool implementation for libmemcached. +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. * - * Copy: See Copyright for the status of this software. + * Summary: Connection pool implementation for libmemcached. * - * Author: Trond Norbye */ + #ifndef MEMCACHED_POOL_H #define MEMCACHED_POOL_H diff --git a/libmemcached/memcached_result.c b/libmemcached/memcached_result.c index 6427f1df..14a0774e 100644 --- a/libmemcached/memcached_result.c +++ b/libmemcached/memcached_result.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Functions to manipulate the result structure. + * + */ + /* memcached_result_st are used to internally represent the return values from memcached. We use a structure so that long term as identifiers are added diff --git a/libmemcached/memcached_result.h b/libmemcached/memcached_result.h index aeea59cc..4b0c12e5 100644 --- a/libmemcached/memcached_result.h +++ b/libmemcached/memcached_result.h @@ -1,9 +1,12 @@ -/* - * Summary: Result structure used for libmemcached. +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. * - * Copy: See Copyright for the status of this software. + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Functions to manipulate the result structure. * - * Author: Brian Aker */ #ifndef __MEMCACHED_RESULT_H__ diff --git a/libmemcached/memcached_server.c b/libmemcached/memcached_server.c index 5a94e767..2cff36da 100644 --- a/libmemcached/memcached_server.c +++ b/libmemcached/memcached_server.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: String structure used for libmemcached. + * + */ + /* This is a partial implementation for fetching/creating memcached_server_st objects. */ diff --git a/libmemcached/memcached_server.h b/libmemcached/memcached_server.h index e0fc7ea1..f2d92dc1 100644 --- a/libmemcached/memcached_server.h +++ b/libmemcached/memcached_server.h @@ -1,9 +1,12 @@ -/* - * Summary: String structure used for libmemcached. +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. * - * Copy: See Copyright for the status of this software. + * Summary: String structure used for libmemcached. * - * Author: Brian Aker */ #ifndef __MEMCACHED_SERVER_H__ diff --git a/libmemcached/memcached_storage.c b/libmemcached/memcached_storage.c index 2dbcb280..c6a556f9 100644 --- a/libmemcached/memcached_storage.c +++ b/libmemcached/memcached_storage.c @@ -1,11 +1,14 @@ -/* - Memcached library +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Storage related functions, aka set, replace,.. + * + */ - memcached_set() - memcached_replace() - memcached_add() - -*/ #include "common.h" #include "memcached_io.h" diff --git a/libmemcached/memcached_storage.h b/libmemcached/memcached_storage.h index 472a260a..d4f4995c 100644 --- a/libmemcached/memcached_storage.h +++ b/libmemcached/memcached_storage.h @@ -1,9 +1,12 @@ -/* - * Summary: Storage functions for libmemcached +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. * - * Copy: See Copyright for the status of this software. + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Storage related functions, aka set, replace,.. * - * Author: Brian Aker */ #ifndef __MEMCACHED_STORAGE_H__ diff --git a/libmemcached/memcached_string.c b/libmemcached/memcached_string.c index a12d6d96..838ca416 100644 --- a/libmemcached/memcached_string.c +++ b/libmemcached/memcached_string.c @@ -5,6 +5,8 @@ * Use and distribution licensed under the BSD license. See * the COPYING file in the parent directory for full text. * + * Summary: String structure used for libmemcached. + * */ #include "common.h" diff --git a/libmemcached/memcached_util.h b/libmemcached/memcached_util.h index 65732c87..f06804b4 100644 --- a/libmemcached/memcached_util.h +++ b/libmemcached/memcached_util.h @@ -1,12 +1,17 @@ -/* - * Summary: interface for libmemcached utility library - * Description: main include file for libmemcachedutil +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. * - * Copy: See Copyright for the status of this software. + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: Connection pool library. * * Author: Trond Norbye + * */ + #ifndef MEMCACHED_UTIL_H #define MEMCACHED_UTIL_H diff --git a/libmemcached/memcached_watchpoint.h b/libmemcached/memcached_watchpoint.h index d7f759fd..d8c593ec 100644 --- a/libmemcached/memcached_watchpoint.h +++ b/libmemcached/memcached_watchpoint.h @@ -1,9 +1,12 @@ -/* - * Summary: Localized copy of WATCHPOINT debug symbols +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. * - * Copy: See Copyright for the status of this software. + * Summary: Localized copy of WATCHPOINT debug symbols * - * Author: Brian Aker */ #ifndef LIBMEMCACHED_MEMCACHED_WATCHPOINT_H diff --git a/libmemcached/protocol_handler.h b/libmemcached/protocol_handler.h index fe92a2cc..5a820d4f 100644 --- a/libmemcached/protocol_handler.h +++ b/libmemcached/protocol_handler.h @@ -1,10 +1,16 @@ -/* - * Summary: Definition of the callback interface to the protocol handler +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. * - * Copy: See Copyright for the status of this software. + * Summary: Definition of the callback interface to the protocol handler * * Author: Trond Norbye + * */ + #ifndef MEMCACHED_PROTOCOL_H #define MEMCACHED_PROTOCOL_H diff --git a/libmemcached/visibility.h b/libmemcached/visibility.h index 9405a88d..6ee38533 100644 --- a/libmemcached/visibility.h +++ b/libmemcached/visibility.h @@ -1,11 +1,14 @@ -/* - * Summary: interface for memcached server - * Description: visibitliy macros for libmemcached +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. * * Use and distribution licensed under the BSD license. See - * the COPYING file in this directory for full text. - * - * Author: Monty Taylor + * the COPYING file in the parent directory for full text. + * + * Summary: Interface for memcached server. + * + * Author: Trond Norbye + * */ /** diff --git a/tests/atomsmasher.c b/tests/atomsmasher.c index 7650f592..90f7e8f7 100644 --- a/tests/atomsmasher.c +++ b/tests/atomsmasher.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* Sample test application. */ diff --git a/tests/ketama_test_cases.h b/tests/ketama_test_cases.h index 3d770f16..b01d1ab2 100644 --- a/tests/ketama_test_cases.h +++ b/tests/ketama_test_cases.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + */ + #ifndef TESTS_KETAMA_TEST_CASES_H #define TESTS_KETAMA_TEST_CASES_H diff --git a/tests/ketama_test_cases_spy.h b/tests/ketama_test_cases_spy.h index 5e6a9378..b9c0a96e 100644 --- a/tests/ketama_test_cases_spy.h +++ b/tests/ketama_test_cases_spy.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + */ + #ifndef TESTS_KETAMA_TEST_CASES_SPY_H #define TESTS_KETAMA_TEST_CASES_SPY_H diff --git a/tests/server.c b/tests/server.c index f0926695..cdd22dea 100644 --- a/tests/server.c +++ b/tests/server.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* Startup, and shutdown the memcached servers. */ diff --git a/tests/server.h b/tests/server.h index 26452f54..0aef86f9 100644 --- a/tests/server.h +++ b/tests/server.h @@ -1,3 +1,11 @@ +/* + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + */ + /* Server startup and shutdown functions. */ diff --git a/tests/start.c b/tests/start.c index aa042f97..eb37357d 100644 --- a/tests/start.c +++ b/tests/start.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + #include #include #include "server.h" diff --git a/tests/udp.c b/tests/udp.c index a78c5822..cdcd4ba4 100644 --- a/tests/udp.c +++ b/tests/udp.c @@ -1,3 +1,14 @@ +/* LibMemcached + * Copyright (C) 2006-2009 Brian Aker + * All rights reserved. + * + * Use and distribution licensed under the BSD license. See + * the COPYING file in the parent directory for full text. + * + * Summary: + * + */ + /* Sample test application. */ -- 2.30.2