2
0
mirror of https://github.com/openvswitch/ovs synced 2025-09-01 14:55:18 +00:00

ovsdb: Add simple constraints.

This commit is contained in:
Ben Pfaff
2010-02-08 14:09:36 -08:00
parent 629cd2f17f
commit bd76d25d8b
36 changed files with 2213 additions and 965 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009 Nicira Networks.
* Copyright (c) 2009, 2010 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,6 +18,8 @@
#define UNICODE_H 1
#include <stdbool.h>
#include <stddef.h>
#include "compiler.h"
/* Returns true if 'c' is a Unicode code point, otherwise false. */
static inline bool
@@ -50,4 +52,7 @@ uc_is_surrogate(int c)
int utf16_decode_surrogate_pair(int leading, int trailing);
size_t utf8_length(const char *);
char *utf8_validate(const char *, size_t *lengthp) WARN_UNUSED_RESULT;
#endif /* unicode.h */