Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
4f210cd8
Commit
4f210cd8
authored
8 years ago
by
Alexander Alashkin
Committed by
Cesanta Bot
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix error messages and more
PUBLISHED_FROM=11c57fc5ece01686e9cecab5e3bfce54a2825836
parent
285f7576
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/c-api/util.h/mg_match_prefix.md
+2
-2
2 additions, 2 deletions
docs/c-api/util.h/mg_match_prefix.md
docs/c-api/util.h/mg_next_comma_list_entry.md
+4
-4
4 additions, 4 deletions
docs/c-api/util.h/mg_next_comma_list_entry.md
with
6 additions
and
6 deletions
docs/c-api/util.h/mg_match_prefix.md
+
2
−
2
View file @
4f210cd8
...
...
@@ -6,7 +6,7 @@ signature: |
int mg_match_prefix(const char *pattern, int pattern_len, const char *str);
---
Match
es
0-terminated string (mg_match_prefix) or string with given length
Match 0-terminated string (mg_match_prefix) or string with given length
mg_match_prefix_n against a glob pattern.
Match is case-insensitive. Return
s the
number of bytes matched or -1 if no match.
Match is case-insensitive. Return number of bytes matched
,
or -1 if no match.
This diff is collapsed.
Click to expand it.
docs/c-api/util.h/mg_next_comma_list_entry.md
+
4
−
4
View file @
4f210cd8
...
...
@@ -8,12 +8,12 @@ signature: |
---
A helper function for traversing a comma separated list of values.
It returns a list pointer shifted to the next value or NULL if the end
It returns a list pointer shifted to the next value
,
or NULL if the end
of the list found.
The v
alue is stored in
a
val vector. If
the
value has
a
form "x=y", then eq_val
vector is initiali
s
ed to point to the "y" part, and val vector length
V
alue is stored in val vector. If value has form "x=y", then eq_val
vector is initiali
z
ed to point to the "y" part, and val vector length
is adjusted to point only to "x".
If
the
list is just a comma separated list of entries, like "aa,bb,cc" then
If list is just a comma separated list of entries, like "aa,bb,cc" then
`eq_val`
will contain zero-length string.
The purpose of this function is to parse comma separated string without
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment