Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
aerospike
as_msgpack_serializer.h
Go to the documentation of this file.
1
/*
2
* Copyright 2008-2018 Aerospike, Inc.
3
*
4
* Portions may be licensed to Aerospike, Inc. under one or more contributor
5
* license agreements.
6
*
7
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
8
* use this file except in compliance with the License. You may obtain a copy of
9
* the License at http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
* License for the specific language governing permissions and limitations under
15
* the License.
16
*/
17
#pragma once
18
19
#include <
aerospike/as_msgpack.h
>
20
#include <
aerospike/as_serializer.h
>
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
/******************************************************************************
27
* FUNCTIONS
28
******************************************************************************/
29
30
/**
31
* Creates a new serializer for msgpack.
32
*/
33
AS_EXTERN
as_serializer
*
as_msgpack_new
(
void
);
34
35
/**
36
* Initializes a serializer for msgpack.
37
*/
38
AS_EXTERN
as_serializer
*
as_msgpack_init
(
as_serializer
*);
39
40
#ifdef __cplusplus
41
}
// end extern "C"
42
#endif
as_serializer.h
as_msgpack_new
AS_EXTERN as_serializer * as_msgpack_new(void)
AS_EXTERN
#define AS_EXTERN
Definition:
as_std.h:25
as_msgpack_init
AS_EXTERN as_serializer * as_msgpack_init(as_serializer *)
as_msgpack.h
as_serializer
Definition:
as_serializer.h:37