json_internal.h: rename to utf.h and place in spdk_internal
Change-Id: I1b1f3a6c10b97c6323e52b58537293f6a6c5c56b Signed-off-by: Seth Howell <seth.howell@intel.com> Reviewed-on: https://review.gerrithub.io/394117 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
095f4254f1
commit
0a97bd140b
@ -31,8 +31,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef SPDK_JSON_INTERNAL_H_
|
||||
#define SPDK_JSON_INTERNAL_H_
|
||||
#ifndef SPDK_UTF_H_
|
||||
#define SPDK_UTF_H_
|
||||
|
||||
#include "spdk/stdinc.h"
|
||||
|
||||
@ -41,8 +41,6 @@
|
||||
#include "spdk/likely.h"
|
||||
#include "spdk/string.h"
|
||||
|
||||
#define SPDK_JSON_MAX_NESTING_DEPTH 64
|
||||
|
||||
static inline bool
|
||||
utf8_tail(uint8_t c)
|
||||
{
|
@ -31,7 +31,9 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "json_internal.h"
|
||||
#include "spdk_internal/utf.h"
|
||||
|
||||
#define SPDK_JSON_MAX_NESTING_DEPTH 64
|
||||
|
||||
static int
|
||||
hex_value(uint8_t c)
|
||||
|
@ -31,7 +31,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "json_internal.h"
|
||||
#include "spdk_internal/utf.h"
|
||||
|
||||
size_t
|
||||
spdk_json_val_len(const struct spdk_json_val *val)
|
||||
|
@ -31,7 +31,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "json_internal.h"
|
||||
#include "spdk_internal/utf.h"
|
||||
|
||||
struct spdk_json_write_ctx {
|
||||
spdk_json_write_cb write_cb;
|
||||
|
Loading…
Reference in New Issue
Block a user