nxt_string.h (2084:7d479274f334) nxt_string.h (2139:99d792169ffb)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_STRING_H_INCLUDED_
8#define _NXT_STRING_H_INCLUDED_

--- 82 unchanged lines hidden (view full) ---

91 size_t length);
92
93NXT_EXPORT u_char *nxt_memstrn(const u_char *s, const u_char *end,
94 const char *ss, size_t length);
95NXT_EXPORT u_char *nxt_memcasestrn(const u_char *s, const u_char *end,
96 const char *ss, size_t length);
97NXT_EXPORT u_char *nxt_rmemstrn(const u_char *s, const u_char *end,
98 const char *ss, size_t length);
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_STRING_H_INCLUDED_
8#define _NXT_STRING_H_INCLUDED_

--- 82 unchanged lines hidden (view full) ---

91 size_t length);
92
93NXT_EXPORT u_char *nxt_memstrn(const u_char *s, const u_char *end,
94 const char *ss, size_t length);
95NXT_EXPORT u_char *nxt_memcasestrn(const u_char *s, const u_char *end,
96 const char *ss, size_t length);
97NXT_EXPORT u_char *nxt_rmemstrn(const u_char *s, const u_char *end,
98 const char *ss, size_t length);
99NXT_EXPORT size_t nxt_str_strip(u_char *start, u_char *end);
99NXT_EXPORT size_t nxt_str_strip(const u_char *start, u_char *end);
100
101
102typedef struct {
103 size_t length;
104 u_char *start;
105} nxt_str_t;
106
107

--- 68 unchanged lines hidden ---
100
101
102typedef struct {
103 size_t length;
104 u_char *start;
105} nxt_str_t;
106
107

--- 68 unchanged lines hidden ---