Skip to content

Commit abdb1f8

Browse files
committed
Add missing license headers
And removed the "Author" tag in there since there are multiple authors for each file.. Use the git log to see who wrote stuff instead of trusting a tag no one updates ;-) Change-Id: I6a2829b92ecd92c08226308825c63703960e7219 Reviewed-on: http://review.couchbase.org/27374 Reviewed-by: Matt Ingenthron <matt@couchbase.com> Tested-by: Trond Norbye <trond.norbye@gmail.com>
1 parent a27c938 commit abdb1f8

39 files changed

+127
-74
lines changed

apidecl.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
/**

apidecl.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
/**
@@ -26,8 +24,8 @@
2624
#error "Must include internal.h"
2725
#endif
2826

29-
#ifndef COUCHBASE_APIDECL_H_
30-
#define COUCHBASE_APIDECL_H_
27+
#ifndef COUCHBASE_APIDECL_H
28+
#define COUCHBASE_APIDECL_H
3129

3230
PHP_COUCHBASE_LOCAL
3331
void php_couchbase_create_impl(INTERNAL_FUNCTION_PARAMETERS, int oo);

arithmetic.c

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
+----------------------------------------------------------------------+
3+
| PHP Version 5 |
4+
+----------------------------------------------------------------------+
5+
| Copyright 2013 Couchbase, Inc. |
6+
+----------------------------------------------------------------------+
7+
| Licensed under the Apache License, Version 2.0 (the "License"); |
8+
| you may not use this file except in compliance with the License. |
9+
| You may obtain a copy of the License at |
10+
| http://www.apache.org/licenses/LICENSE-2.0 |
11+
| Unless required by applicable law or agreed to in writing, software |
12+
| distributed under the License is distributed on an "AS IS" BASIS, |
13+
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
14+
| implied. See the License for the specific language governing |
15+
| permissions and limitations under the License. |
16+
+----------------------------------------------------------------------+
17+
*/
118
#include "internal.h"
219

320
struct arithmetic_cookie {

ccache.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#include "internal.h"
2119
#include <errno.h>

compress.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
/**

convert.c

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
+----------------------------------------------------------------------+
3+
| PHP Version 5 |
4+
+----------------------------------------------------------------------+
5+
| Copyright 2012 Couchbase, Inc. |
6+
+----------------------------------------------------------------------+
7+
| Licensed under the Apache License, Version 2.0 (the "License"); |
8+
| you may not use this file except in compliance with the License. |
9+
| You may obtain a copy of the License at |
10+
| http://www.apache.org/licenses/LICENSE-2.0 |
11+
| Unless required by applicable law or agreed to in writing, software |
12+
| distributed under the License is distributed on an "AS IS" BASIS, |
13+
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
14+
| implied. See the License for the specific language governing |
15+
| permissions and limitations under the License. |
16+
+----------------------------------------------------------------------+
17+
*/
118
#include "internal.h"
219

320
PHP_COUCHBASE_LOCAL

couchbase.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Xinchen Hui <laruence@php.net> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#include "internal.h"

create.c

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
+----------------------------------------------------------------------+
3+
| PHP Version 5 |
4+
+----------------------------------------------------------------------+
5+
| Copyright 2013 Couchbase, Inc. |
6+
+----------------------------------------------------------------------+
7+
| Licensed under the Apache License, Version 2.0 (the "License"); |
8+
| you may not use this file except in compliance with the License. |
9+
| You may obtain a copy of the License at |
10+
| http://www.apache.org/licenses/LICENSE-2.0 |
11+
| Unless required by applicable law or agreed to in writing, software |
12+
| distributed under the License is distributed on an "AS IS" BASIS, |
13+
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
14+
| implied. See the License for the specific language governing |
15+
| permissions and limitations under the License. |
16+
+----------------------------------------------------------------------+
17+
*/
118
#include "internal.h"
219

320

designdoc.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#include "internal.h"

error.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@gmail.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#include "internal.h"
2119

exceptions.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#include "internal.h"

exceptions.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#ifndef COUCHBASE_EXCEPTIONS_H
2119
#define COUCHBASE_EXCEPTIONS_H

flush.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@gmail.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#include "internal.h"
2119

get.c

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
+----------------------------------------------------------------------+
3+
| PHP Version 5 |
4+
+----------------------------------------------------------------------+
5+
| Copyright 2013 Couchbase, Inc. |
6+
+----------------------------------------------------------------------+
7+
| Licensed under the Apache License, Version 2.0 (the "License"); |
8+
| you may not use this file except in compliance with the License. |
9+
| You may obtain a copy of the License at |
10+
| http://www.apache.org/licenses/LICENSE-2.0 |
11+
| Unless required by applicable law or agreed to in writing, software |
12+
| distributed under the License is distributed on an "AS IS" BASIS, |
13+
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
14+
| implied. See the License for the specific language governing |
15+
| permissions and limitations under the License. |
16+
+----------------------------------------------------------------------+
17+
*/
118
#include "internal.h"
219

320
static void php_couchbase_get_callback(lcb_t instance,

ht.c

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Michael Jackson |
18-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
19-
+----------------------------------------------------------------------+
2017
*/
2118

2219
/* Various utility functions, e.g. wrappers around zend_hash_* functions that

ht.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#ifndef PHP_COUCHBASE_H
2220
#error "Include php_couchbase.h first"
2321
#endif
2422

25-
#ifndef PCBC_HT_H_
26-
#define PCBC_HT_H_
23+
#ifndef PCBC_HT_H
24+
#define PCBC_HT_H
2725

2826
typedef struct {
2927
const char *key;

internal.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#ifndef COUCHBASE_INTERNAL_H
2119
#define COUCHBASE_INTERNAL_H 1

management/buckets.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
/**

management/buckets.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#ifndef MANAGEMENT_BUCKETS_H
2119
#define MANAGEMENT_BUCKETS_H 1

management/instance.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#ifndef MANAGEMENT_INSTANCE_H
2119
#define MANAGEMENT_INSTANCE_H 1

management/management.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@couchbase.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#include "cluster.h"

misc.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#include "internal.h"

observe.c

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Michael Jackson |
18-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
19-
+----------------------------------------------------------------------+
2017
*/
2118

2219
/* This file contains the internal functions that drive observe (polling and

options.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@gmail.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#include "internal.h"
2119

php_couchbase.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Xinchen Hui <laruence@php.net> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#ifndef PHP_COUCHBASE_H
2119
#define PHP_COUCHBASE_H

remove.c

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
+----------------------------------------------------------------------+
3+
| PHP Version 5 |
4+
+----------------------------------------------------------------------+
5+
| Copyright 2013 Couchbase, Inc. |
6+
+----------------------------------------------------------------------+
7+
| Licensed under the Apache License, Version 2.0 (the "License"); |
8+
| you may not use this file except in compliance with the License. |
9+
| You may obtain a copy of the License at |
10+
| http://www.apache.org/licenses/LICENSE-2.0 |
11+
| Unless required by applicable law or agreed to in writing, software |
12+
| distributed under the License is distributed on an "AS IS" BASIS, |
13+
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
14+
| implied. See the License for the specific language governing |
15+
| permissions and limitations under the License. |
16+
+----------------------------------------------------------------------+
17+
*/
118
#include "internal.h"
219

320
struct remove_cookie {

resget.h

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,14 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#ifndef PHP_COUCHBASE_H
2220
#error "Include php_couchbase.h first"
2321
#endif
2422

25-
#ifndef PCBC_RESGET_H_
26-
#define PCBC_RESGET_H_
23+
#ifndef PCBC_RESGET_H
24+
#define PCBC_RESGET_H
2725

2826
#include <stdarg.h>
2927

resmgr.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Mark Nunberg <mnunberg@haskalah.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#include "internal.h"

simple_observe.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@gmail.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#include "internal.h"
2119

simple_observe.h

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@gmail.org> |
18-
+----------------------------------------------------------------------+
1917
*/
2018

2119
#ifndef COUCHBASE_INTERNAL_H

stat.c

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
| implied. See the License for the specific language governing |
1515
| permissions and limitations under the License. |
1616
+----------------------------------------------------------------------+
17-
| Author: Trond Norbye <trond.norbye@gmail.com> |
18-
+----------------------------------------------------------------------+
1917
*/
2018
#include "internal.h"
2119

store.c

+17
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
/*
2+
+----------------------------------------------------------------------+
3+
| PHP Version 5 |
4+
+----------------------------------------------------------------------+
5+
| Copyright 2012 Couchbase, Inc. |
6+
+----------------------------------------------------------------------+
7+
| Licensed under the Apache License, Version 2.0 (the "License"); |
8+
| you may not use this file except in compliance with the License. |
9+
| You may obtain a copy of the License at |
10+
| http://www.apache.org/licenses/LICENSE-2.0 |
11+
| Unless required by applicable law or agreed to in writing, software |
12+
| distributed under the License is distributed on an "AS IS" BASIS, |
13+
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or |
14+
| implied. See the License for the specific language governing |
15+
| permissions and limitations under the License. |
16+
+----------------------------------------------------------------------+
17+
*/
118
#include "internal.h"
219

320
static void php_couchbase_store_callback(lcb_t instance,

0 commit comments

Comments
 (0)