Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F3061818
blob.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
494 B
Referenced Files
None
Subscribers
None
blob.h
View Options
#ifndef BLOB_H
#define BLOB_H
#include
<stdint.h>
#include
<stddef.h>
#include
"types.h"
typedef
struct
{
uint8_t
*
data
;
size_t
size
;
char
*
type
;
char
*
name
;
int64_t
last_modified
;
}
blob_data_t
;
void
init_blob_module
(
void
);
bool
blob_is_blob
(
ant_t
*
js
,
ant_value_t
obj
);
blob_data_t
*
blob_get_data
(
ant_value_t
obj
);
ant_value_t
blob_create
(
ant_t
*
js
,
const
uint8_t
*
data
,
size_t
size
,
const
char
*
type
);
extern
ant_value_t
g_blob_proto
;
extern
ant_value_t
g_file_proto
;
#endif
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Fri, Apr 3, 7:56 PM (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
521498
Default Alt Text
blob.h (494 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment