Skip to content

Commit a823188

Browse files
committed
Merge branch 'stage' into CLIENT-2699_metrics
2 parents 81f9f4d + c489326 commit a823188

File tree

14 files changed

+1139
-662
lines changed

14 files changed

+1139
-662
lines changed

project/doxyfile

Lines changed: 835 additions & 347 deletions
Large diffs are not rendered by default.

src/apidocs/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- start footer part -->
22
<div class="footer">
3-
<div class="copy">&copy 2008-2023 Aerospike Inc. All rights reserved.</div>
3+
<div class="copy">&copy 2008-2024 Aerospike Inc. All rights reserved.</div>
44
<div class="legal">
55
<a href="http://www.aerospike.com/privacy-policy/">Privacy Policy</a>
66
<span>|</span>

src/include/aerospike/aerospike.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2008-2020 Aerospike, Inc.
2+
* Copyright 2008-2024 Aerospike, Inc.
33
*
44
* Portions may be licensed to Aerospike, Inc. under one or more contributor
55
* license agreements.
@@ -42,10 +42,10 @@
4242
* - Shared memory cluster tend state for multi-process applications
4343
* - TLS secure sockets
4444
*
45-
* See <a href="modules.html">Modules</a> for an API overview.
46-
*
47-
* See <a href="http://www.aerospike.com/docs/client/c">Developer Guide</a> for installation
48-
* instructions and example code.
45+
* See <a href="files.html">Files</a> for aerospike header files.<br/>
46+
* See <a href="classes.html">Types</a> for aerospike types.<br/>
47+
* See <a href="https://aerospike.com/developer/client/install?client=c">Developer Guide</a> for installation
48+
* instructions and example code.<br/>
4949
*/
5050

5151
/**
@@ -71,9 +71,9 @@
7171
extern "C" {
7272
#endif
7373

74-
/******************************************************************************
75-
* TYPES
76-
*****************************************************************************/
74+
//---------------------------------
75+
// Types
76+
//---------------------------------
7777

7878
/**
7979
* @private
@@ -184,9 +184,9 @@ typedef struct aerospike_s {
184184

185185
} aerospike;
186186

187-
/******************************************************************************
188-
* FUNCTIONS
189-
*****************************************************************************/
187+
//---------------------------------
188+
// Functions
189+
//---------------------------------
190190

191191
/**
192192
* Initialize a stack allocated aerospike instance.

src/include/aerospike/as_batch.h

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2008-2022 Aerospike, Inc.
2+
* Copyright 2008-2024 Aerospike, Inc.
33
*
44
* Portions may be licensed to Aerospike, Inc. under one or more contributor
55
* license agreements.
@@ -25,9 +25,9 @@
2525
extern "C" {
2626
#endif
2727

28-
/*****************************************************************************
29-
* STRUCTURES
30-
*****************************************************************************/
28+
//---------------------------------
29+
// Types
30+
//---------------------------------
3131

3232
/**
3333
* A collection of keys to be batch processed.
@@ -99,10 +99,9 @@ typedef struct as_batch_result_s {
9999
*/
100100
typedef as_batch_result as_batch_read;
101101

102-
/*********************************************************************************
103-
* INSTANCE MACROS
104-
*********************************************************************************/
105-
102+
//---------------------------------
103+
// Macros
104+
//---------------------------------
106105

107106
/**
108107
* Initializes `as_batch` with specified capacity using alloca().
@@ -123,7 +122,7 @@ typedef as_batch_result as_batch_read;
123122
* @param __size The number of keys to allocate.
124123
*
125124
* @relates as_batch
126-
* @ingroup batch_object
125+
* @ingroup batch_operations
127126
*/
128127
#define as_batch_inita(__batch, __size) \
129128
do {\
@@ -135,9 +134,9 @@ typedef as_batch_result as_batch_read;
135134
(__batch)->_free = false;\
136135
} while(0)
137136

138-
/*********************************************************************************
139-
* INSTANCE FUNCTIONS
140-
*********************************************************************************/
137+
//---------------------------------
138+
// Functions
139+
//---------------------------------
141140

142141
/**
143142
* Create and initialize a heap allocated as_batch capable of storing
@@ -155,7 +154,7 @@ typedef as_batch_result as_batch_read;
155154
* @param size The number of keys to allocate.
156155
*
157156
* @relates as_batch
158-
* @ingroup batch_object
157+
* @ingroup batch_operations
159158
*/
160159
AS_EXTERN as_batch*
161160
as_batch_new(uint32_t size);
@@ -177,7 +176,7 @@ as_batch_new(uint32_t size);
177176
* @param size The number of keys to allocate.
178177
*
179178
* @relates as_batch
180-
* @ingroup batch_object
179+
* @ingroup batch_operations
181180
*/
182181
AS_EXTERN as_batch*
183182
as_batch_init(as_batch* batch, uint32_t size);
@@ -192,7 +191,7 @@ as_batch_init(as_batch* batch, uint32_t size);
192191
* @param batch The batch to release.
193192
*
194193
* @relates as_batch
195-
* @ingroup batch_object
194+
* @ingroup batch_operations
196195
*/
197196
AS_EXTERN void
198197
as_batch_destroy(as_batch* batch);
@@ -201,13 +200,13 @@ as_batch_destroy(as_batch* batch);
201200
* Get the key at given position of the batch. If the position is not
202201
* within the allocated capacity for the batchm then NULL is returned.
203202
*
204-
* @param batch The batch to get the key from.
203+
* @param batch The batch to get the key from.
205204
* @param i The position of the key.
206205
*
207206
* @return On success, the key at specified position. If position is invalid, then NULL.
208207
*
209208
* @relates as_batch
210-
* @ingroup batch_object
209+
* @ingroup batch_operations
211210
*/
212211
static inline as_key*
213212
as_batch_keyat(const as_batch* batch, uint32_t i)

src/include/aerospike/as_cdt_ctx.h

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2008-2022 Aerospike, Inc.
2+
* Copyright 2008-2024 Aerospike, Inc.
33
*
44
* Portions may be licensed to Aerospike, Inc. under one or more contributor
55
* license agreements.
@@ -24,15 +24,15 @@
2424
extern "C" {
2525
#endif
2626

27-
/******************************************************************************
28-
* TYPES
29-
*****************************************************************************/
27+
//---------------------------------
28+
// Types
29+
//---------------------------------
3030

3131
/**
3232
* Nested CDT context type.
3333
*
3434
* @relates as_operations
35-
* @ingroup as_operations_object
35+
* @ingroup base_operations
3636
*/
3737
typedef enum {
3838
AS_CDT_CTX_LIST_INDEX = 0x10,
@@ -50,7 +50,7 @@ typedef enum {
5050
* Nested CDT context level.
5151
*
5252
* @relates as_operations
53-
* @ingroup as_operations_object
53+
* @ingroup base_operations
5454
*/
5555
typedef struct as_cdt_ctx_item {
5656
uint32_t type;
@@ -65,15 +65,15 @@ typedef struct as_cdt_ctx_item {
6565
* List of CDT context level(s).
6666
*
6767
* @relates as_operations
68-
* @ingroup as_operations_object
68+
* @ingroup base_operations
6969
*/
7070
typedef struct as_cdt_ctx {
7171
as_vector list;
7272
} as_cdt_ctx;
7373

74-
/******************************************************************************
75-
* MACROS
76-
*****************************************************************************/
74+
//---------------------------------
75+
// Macros
76+
//---------------------------------
7777

7878
/**
7979
* Initialize a stack allocated nested CDT context list.
@@ -92,20 +92,20 @@ typedef struct as_cdt_ctx {
9292
* @param __cap The max number of context levels allowed.
9393
*
9494
* @relates as_operations
95-
* @ingroup as_operations_object
95+
* @ingroup base_operations
9696
*/
9797
#define as_cdt_ctx_inita(__ctx, __cap) as_vector_inita(&(__ctx)->list, sizeof(as_cdt_ctx_item), __cap)
9898

99-
/******************************************************************************
100-
* FUNCTIONS
101-
*****************************************************************************/
99+
//---------------------------------
100+
// Functions
101+
//---------------------------------
102102

103103
/**
104104
* Initialize a stack allocated nested CDT context list, with item storage on the heap.
105105
* Call as_cdt_ctx_destroy() when done with the context list.
106106
*
107107
* @relates as_operations
108-
* @ingroup as_operations_object
108+
* @ingroup base_operations
109109
*/
110110
static inline void
111111
as_cdt_ctx_init(as_cdt_ctx* ctx, uint32_t capacity)
@@ -118,7 +118,7 @@ as_cdt_ctx_init(as_cdt_ctx* ctx, uint32_t capacity)
118118
* Call as_cdt_ctx_destroy() when done with the context list.
119119
*
120120
* @relates as_operations
121-
* @ingroup as_operations_object
121+
* @ingroup base_operations
122122
*/
123123
static inline as_cdt_ctx*
124124
as_cdt_ctx_create(uint32_t capacity)
@@ -130,7 +130,7 @@ as_cdt_ctx_create(uint32_t capacity)
130130
* Destroy nested CDT context list and as_val based context items that were allocated on the heap.
131131
*
132132
* @relates as_operations
133-
* @ingroup as_operations_object
133+
* @ingroup base_operations
134134
*/
135135
AS_EXTERN void
136136
as_cdt_ctx_destroy(as_cdt_ctx* ctx);
@@ -148,7 +148,7 @@ as_cdt_ctx_destroy(as_cdt_ctx* ctx);
148148
* </ul>
149149
*
150150
* @relates as_operations
151-
* @ingroup as_operations_object
151+
* @ingroup base_operations
152152
*/
153153
static inline void
154154
as_cdt_ctx_add_list_index(as_cdt_ctx* ctx, int index)
@@ -163,7 +163,7 @@ as_cdt_ctx_add_list_index(as_cdt_ctx* ctx, int index)
163163
* Create list with given type at index offset.
164164
*
165165
* @relates as_operations
166-
* @ingroup as_operations_object
166+
* @ingroup base_operations
167167
*/
168168
static inline void
169169
as_cdt_ctx_add_list_index_create(as_cdt_ctx* ctx, int index, as_list_order order, bool pad)
@@ -183,7 +183,7 @@ as_cdt_ctx_add_list_index_create(as_cdt_ctx* ctx, int index, as_list_order order
183183
* </ul>
184184
*
185185
* @relates as_operations
186-
* @ingroup as_operations_object
186+
* @ingroup base_operations
187187
*/
188188
static inline void
189189
as_cdt_ctx_add_list_rank(as_cdt_ctx* ctx, int rank)
@@ -198,7 +198,7 @@ as_cdt_ctx_add_list_rank(as_cdt_ctx* ctx, int rank)
198198
* Lookup list by value. The ctx list takes ownership of val.
199199
*
200200
* @relates as_operations
201-
* @ingroup as_operations_object
201+
* @ingroup base_operations
202202
*/
203203
static inline void
204204
as_cdt_ctx_add_list_value(as_cdt_ctx* ctx, as_val* val)
@@ -222,7 +222,7 @@ as_cdt_ctx_add_list_value(as_cdt_ctx* ctx, as_val* val)
222222
* </ul>
223223
*
224224
* @relates as_operations
225-
* @ingroup as_operations_object
225+
* @ingroup base_operations
226226
*/
227227
static inline void
228228
as_cdt_ctx_add_map_index(as_cdt_ctx* ctx, int index)
@@ -242,7 +242,7 @@ as_cdt_ctx_add_map_index(as_cdt_ctx* ctx, int index)
242242
* </ul>
243243
*
244244
* @relates as_operations
245-
* @ingroup as_operations_object
245+
* @ingroup base_operations
246246
*/
247247
static inline void
248248
as_cdt_ctx_add_map_rank(as_cdt_ctx* ctx, int rank)
@@ -257,7 +257,7 @@ as_cdt_ctx_add_map_rank(as_cdt_ctx* ctx, int rank)
257257
* Lookup map by key. The ctx list takes ownership of key.
258258
*
259259
* @relates as_operations
260-
* @ingroup as_operations_object
260+
* @ingroup base_operations
261261
*/
262262
static inline void
263263
as_cdt_ctx_add_map_key(as_cdt_ctx* ctx, as_val* key)
@@ -273,7 +273,7 @@ as_cdt_ctx_add_map_key(as_cdt_ctx* ctx, as_val* key)
273273
* The ctx list takes ownership of key.
274274
*
275275
* @relates as_operations
276-
* @ingroup as_operations_object
276+
* @ingroup base_operations
277277
*/
278278
static inline void
279279
as_cdt_ctx_add_map_key_create(as_cdt_ctx* ctx, as_val* key, as_map_order order)
@@ -288,7 +288,7 @@ as_cdt_ctx_add_map_key_create(as_cdt_ctx* ctx, as_val* key, as_map_order order)
288288
* Lookup map by value. The ctx list takes ownership of val.
289289
*
290290
* @relates as_operations
291-
* @ingroup as_operations_object
291+
* @ingroup base_operations
292292
*/
293293
static inline void
294294
as_cdt_ctx_add_map_value(as_cdt_ctx* ctx, as_val* val)

0 commit comments

Comments
 (0)