File tree 39 files changed +127
-74
lines changed
39 files changed +127
-74
lines changed Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
/**
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
/**
26
24
#error "Must include internal.h"
27
25
#endif
28
26
29
- #ifndef COUCHBASE_APIDECL_H_
30
- #define COUCHBASE_APIDECL_H_
27
+ #ifndef COUCHBASE_APIDECL_H
28
+ #define COUCHBASE_APIDECL_H
31
29
32
30
PHP_COUCHBASE_LOCAL
33
31
void php_couchbase_create_impl (INTERNAL_FUNCTION_PARAMETERS , int oo );
Original file line number Diff line number Diff line change
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
+ */
1
18
#include "internal.h"
2
19
3
20
struct arithmetic_cookie {
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#include "internal.h"
21
19
#include <errno.h>
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
/**
Original file line number Diff line number Diff line change
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
+ */
1
18
#include "internal.h"
2
19
3
20
PHP_COUCHBASE_LOCAL
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Xinchen Hui <laruence@php.net> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#include "internal.h"
Original file line number Diff line number Diff line change
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
+ */
1
18
#include "internal.h"
2
19
3
20
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#include "internal.h"
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@gmail.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#include "internal.h"
21
19
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#include "internal.h"
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#ifndef COUCHBASE_EXCEPTIONS_H
21
19
#define COUCHBASE_EXCEPTIONS_H
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@gmail.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#include "internal.h"
21
19
Original file line number Diff line number Diff line change
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
+ */
1
18
#include "internal.h"
2
19
3
20
static void php_couchbase_get_callback (lcb_t instance ,
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Michael Jackson |
18
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
19
- +----------------------------------------------------------------------+
20
17
*/
21
18
22
19
/* Various utility functions, e.g. wrappers around zend_hash_* functions that
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#ifndef PHP_COUCHBASE_H
22
20
#error "Include php_couchbase.h first"
23
21
#endif
24
22
25
- #ifndef PCBC_HT_H_
26
- #define PCBC_HT_H_
23
+ #ifndef PCBC_HT_H
24
+ #define PCBC_HT_H
27
25
28
26
typedef struct {
29
27
const char * key ;
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#ifndef COUCHBASE_INTERNAL_H
21
19
#define COUCHBASE_INTERNAL_H 1
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
/**
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#ifndef MANAGEMENT_BUCKETS_H
21
19
#define MANAGEMENT_BUCKETS_H 1
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#ifndef MANAGEMENT_INSTANCE_H
21
19
#define MANAGEMENT_INSTANCE_H 1
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@couchbase.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#include "cluster.h"
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#include "internal.h"
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Michael Jackson |
18
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
19
- +----------------------------------------------------------------------+
20
17
*/
21
18
22
19
/* This file contains the internal functions that drive observe (polling and
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@gmail.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#include "internal.h"
21
19
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Xinchen Hui <laruence@php.net> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#ifndef PHP_COUCHBASE_H
21
19
#define PHP_COUCHBASE_H
Original file line number Diff line number Diff line change
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
+ */
1
18
#include "internal.h"
2
19
3
20
struct remove_cookie {
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#ifndef PHP_COUCHBASE_H
22
20
#error "Include php_couchbase.h first"
23
21
#endif
24
22
25
- #ifndef PCBC_RESGET_H_
26
- #define PCBC_RESGET_H_
23
+ #ifndef PCBC_RESGET_H
24
+ #define PCBC_RESGET_H
27
25
28
26
#include <stdarg.h>
29
27
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Mark Nunberg <mnunberg@haskalah.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#include "internal.h"
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@gmail.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#include "internal.h"
21
19
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@gmail.org> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
21
19
#ifndef COUCHBASE_INTERNAL_H
Original file line number Diff line number Diff line change 14
14
| implied. See the License for the specific language governing |
15
15
| permissions and limitations under the License. |
16
16
+----------------------------------------------------------------------+
17
- | Author: Trond Norbye <trond.norbye@gmail.com> |
18
- +----------------------------------------------------------------------+
19
17
*/
20
18
#include "internal.h"
21
19
Original file line number Diff line number Diff line change
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
+ */
1
18
#include "internal.h"
2
19
3
20
static void php_couchbase_store_callback (lcb_t instance ,
You can’t perform that action at this time.
0 commit comments