1/* blob.c */ 2blob_T *blob_alloc(void); 3int rettv_blob_alloc(typval_T *rettv); 4void rettv_blob_set(typval_T *rettv, blob_T *b); 5int blob_copy(typval_T *from, typval_T *to); 6void blob_free(blob_T *b); 7void blob_unref(blob_T *b); 8long blob_len(blob_T *b); 9int blob_get(blob_T *b, int idx); 10void blob_set(blob_T *b, int idx, char_u c); 11int blob_equal(blob_T *b1, blob_T *b2); 12int read_blob(FILE *fd, blob_T *blob); 13int write_blob(FILE *fd, blob_T *blob); 14char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); 15blob_T *string2blob(char_u *str); 16/* vim: set ft=c : */ 17