Home | History | Annotate | Download | only in src

Lines Matching full:text_t

61 } text_t;
67 static text_t* read_into_spl_text_t(LIBMTP_mtpdevice_t *device, const int fd);
68 static void write_from_spl_text_t(LIBMTP_mtpdevice_t *device, const int fd, text_t* p);
69 static void free_spl_text_t(text_t* p);
70 static void print_spl_text_t(text_t* p);
71 static uint32_t trackno_spl_text_t(text_t* p);
72 static void tracks_from_spl_text_t(text_t* p, uint32_t* tracks, LIBMTP_folder_t* folders, LIBMTP_file_t* files);
73 static void spl_text_t_from_tracks(text_t** p, uint32_t* tracks, const uint32_t trackno, const uint32_t ver_major, const uint32_t ver_minor, char* dnse, LIBMTP_folder_t* folders, LIBMTP_file_t* files);
80 static void append_text_t(text_t** t, char* s);
151 text_t* p = read_into_spl_text_t(device, fd);
184 text_t* t;
326 * @return text_t* a linked list of lines of text, id is left blank, NULL if nothing read in
328 static text_t* read_into_spl_text_t(LIBMTP_mtpdevice_t *device, const int fd)
341 text_t* head = NULL;
342 text_t* tail = NULL;
398 head = malloc(sizeof(text_t));
402 tail->next = malloc(sizeof(text_t));
454 text_t* p) {
509 static void free_spl_text_t(text_t* p)
511 text_t* d;
525 static void print_spl_text_t(text_t* p)
541 static uint32_t trackno_spl_text_t(text_t* p) {
563 static void tracks_from_spl_text_t(text_t* p,
591 static void spl_text_t_from_tracks(text_t** p,
602 text_t* c = NULL;
844 static void append_text_t(text_t** t, char* s)
847 *t = malloc(sizeof(text_t));
850 (*t)->next = malloc(sizeof(text_t));