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:
Seth Howell 2018-01-09 13:45:00 -07:00 committed by Jim Harris
parent 095f4254f1
commit 0a97bd140b
4 changed files with 7 additions and 7 deletions

View File

@ -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)
{

View File

@ -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)

View File

@ -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)

View File

@ -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;