Diff

Differences From Artifact [d802de9362]:

To Artifact [3664133bd1]:


118
119
120
121
122
123
124
125

126
127
128
129
130

131
132
133
134
135

136
137

















138
139
140
141
142
143
144
118
119
120
121
122
123
124

125
126
127
128
129

130
131
132
133
134

135
136

137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160







-
+




-
+




-
+

-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+








/*
 * Close a file/dir.
 */
void fxp_close(struct fxp_handle *handle);

/*
 * Makes a directory
 * Make a directory.
 */
int fxp_mkdir(char *path);

/*
 * Removes a directory
 * Remove a directory.
 */
int fxp_rmdir(char *path);

/*
 * Removes a file
 * Remove a file.
 */
int fxp_rm(char *fname);
int fxp_remove(char *fname);

/*
 * Rename a file.
 */
int fxp_rename(char *srcfname, char *dstfname);

/*
 * Return file attributes.
 */
int fxp_stat(char *fname, struct fxp_attrs *attrs);
int fxp_fstat(struct fxp_handle *handle, struct fxp_attrs *attrs);

/*
 * Set file attributes.
 */
int fxp_setstat(char *fname, struct fxp_attrs attrs);

/*
 * Read from a file.
 */
int fxp_read(struct fxp_handle *handle, char *buffer, uint64 offset,
	     int len);