2 * YAFFS: Yet another Flash File System . A NAND-flash specific file system.
4 * Copyright (C) 2002-2010 Aleph One Ltd.
5 * for Toby Churchill Ltd and Brightstar Engineering
7 * Created by Timothy Manning <timothy@yaffs.net>
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License version 2.1 as
11 * published by the Free Software Foundation.
13 * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
24 #define ROOT_PATH "/mnt/y/"
25 #define FILE_NAME_LENGTH 3
29 typedef struct node_temp{
31 struct node_temp *next;
34 int get_exit_on_error(void);
35 void set_exit_on_error(int val);
36 int delete_linked_list(node *head_node);
37 node * linked_list_add_node(int pos,node *head_node);
39 char * generate_random_string(unsigned int length);
40 void get_error_linux(void);
41 void check_function(int output);
42 void print_message(char print_level, char *message);
43 void set_print_level(int new_level);
44 int get_print_level(void);
45 void node_print_pointers(node *current_node);