mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
json: New function json_serialized_length().
This will be used for the first time in an upcoming commit. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009, 2010 Nicira, Inc.
|
||||
* Copyright (c) 2009, 2010, 2013 Nicira, Inc.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -127,6 +127,8 @@ enum {
|
||||
};
|
||||
char *json_to_string(const struct json *, int flags);
|
||||
void json_to_ds(const struct json *, int flags, struct ds *);
|
||||
|
||||
size_t json_serialized_length(const struct json *);
|
||||
|
||||
/* JSON string formatting operations. */
|
||||
|
||||
|
Reference in New Issue
Block a user