FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
rawhttps/src/util.h at master · felipeek/rawhttps · GitHub
felipeek
/
rawhttps
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
0
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
rawhttps
/
src
/
util.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (13 loc) · 544 Bytes
Breadcrumbs
rawhttps
/
src
/
util.h
Copy path
File metadata and controls
16 lines (13 loc) · 544 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef
RAWHTTPS_UTIL_H
#define
RAWHTTPS_UTIL_H
#include
"common.h"
typedef
struct
{
unsigned
char
*
buffer
;
long long
size
;
long long
capacity
;
}
rawhttps_util_dynamic_buffer
;
void
rawhttps_util_dynamic_buffer_new
(
rawhttps_util_dynamic_buffer
*
db
,
long long
capacity
);
void
rawhttps_util_dynamic_buffer_free
(
rawhttps_util_dynamic_buffer
*
db
);
void
rawhttps_util_dynamic_buffer_add
(
rawhttps_util_dynamic_buffer
*
db
,
const
void
*
msg
,
long long
msg_size
);
unsigned
char
*
rawhttps_util_file_to_memory
(
const
char
*
path
,
int
*
file_size
);
#endif
Back
|
FazBrowse Home
|
New Git URL