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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 2 additions & 4 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 2 additions & 4 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 3 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 17 additions & 0 deletions
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

Lines changed: 2 additions & 4 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 0 additions & 2 deletions
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

Lines changed: 17 additions & 0 deletions
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)