Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
8a79da2a
Commit
8a79da2a
authored
Jan 21, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enable the vle32enc(), we need it for writing gzip trailers
parent
ab76cb9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vend.h
include/vend.h
+2
-0
No files found.
include/vend.h
View file @
8a79da2a
...
@@ -126,6 +126,7 @@ vle16enc(void *pp, uint16_t u)
...
@@ -126,6 +126,7 @@ vle16enc(void *pp, uint16_t u)
p[0] = u & 0xff;
p[0] = u & 0xff;
p[1] = (u >> 8) & 0xff;
p[1] = (u >> 8) & 0xff;
}
}
#endif
static
__inline
void
static
__inline
void
vle32enc
(
void
*
pp
,
uint32_t
u
)
vle32enc
(
void
*
pp
,
uint32_t
u
)
...
@@ -138,6 +139,7 @@ vle32enc(void *pp, uint32_t u)
...
@@ -138,6 +139,7 @@ vle32enc(void *pp, uint32_t u)
p
[
3
]
=
(
u
>>
24
)
&
0xff
;
p
[
3
]
=
(
u
>>
24
)
&
0xff
;
}
}
#if 0
static __inline void
static __inline void
vle64enc(void *pp, uint64_t u)
vle64enc(void *pp, uint64_t u)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment