mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Parsing, image loading, lots of stuff
This commit is contained in:
18
src/utils.h
Normal file
18
src/utils.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
#include <stdio.h>
|
||||
#include "list.h"
|
||||
|
||||
void error(char *s);
|
||||
void malloc_error();
|
||||
void file_error(char *s);
|
||||
void strip(char *s);
|
||||
void strip_char(char *s, char bad);
|
||||
list *split_str(char *s, char delim);
|
||||
char *fgetl(FILE *fp);
|
||||
list *parse_csv_line(char *line);
|
||||
char *copy_string(char *s);
|
||||
int count_fields(char *line);
|
||||
double *parse_fields(char *line, int n);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user