2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>

* libcsupport/include/rtems/libio.h: Use rtems_id for semaphores.
	Use char* for buffer.
	* backward/ftpd.h: New.
	* Makefile.am: Reflect having added backward/ftpd.h.
This commit is contained in:
Ralf Corsepius
2005-02-04 14:58:01 +00:00
parent 75a7f310d9
commit a29d2e7e3d
3 changed files with 20 additions and 3 deletions
+8 -1
View File
@@ -1,4 +1,11 @@
2005-02-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/libio.h: Use rtems_id for semaphores.
Use char* for buffer.
* backward/ftpd.h: New.
* Makefile.am: Reflect having added backward/ftpd.h.
2005-02-04 Ralf Corsepius <ralf.corsepius@rtems.org>
PR 756/rtems
* ftpd/ftpd.c, ftpd/ftpd.h, ftpd/Makefile.am: New (relocated from
+10
View File
@@ -30,6 +30,10 @@ include_HEADERS += backward/asm.h backward/chain.h backward/clockdrv.h \
backward/ringbuf.h backward/rtc.h backward/spurious.h \
backward/timerdrv.h backward/vmeintr.h
if HAS_NETWORKING
include_HEADERS += backward/ftpd.h
endif
include_motoroladir = $(includedir)/motorola
include_motorola_HEADERS = backward/motorola/mc68681.h \
backward/motorola/mc68230.h
@@ -124,6 +128,12 @@ $(PROJECT_INCLUDE)/vmeintr.h: backward/vmeintr.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/vmeintr.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/vmeintr.h
if HAS_NETWORKING
$(PROJECT_INCLUDE)/ftpd.h: backward/ftpd.h $(PROJECT_INCLUDE)/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/ftpd.h
PREINSTALL_FILES += $(PROJECT_INCLUDE)/ftpd.h
endif
$(PROJECT_INCLUDE)/motorola/$(dirstamp):
@$(mkdir_p) $(PROJECT_INCLUDE)/motorola
@: > $(PROJECT_INCLUDE)/motorola/$(dirstamp)
+2 -2
View File
@@ -346,7 +346,7 @@ struct rtems_libio_tt {
off_t offset; /* current offset into file */
uint32_t flags;
rtems_filesystem_location_info_t pathinfo;
Objects_Id sem;
rtems_id sem;
uint32_t data0; /* private to "driver" */
void *data1; /* ... */
void *file_info; /* used by file handlers */
@@ -362,7 +362,7 @@ struct rtems_libio_tt {
typedef struct {
rtems_libio_t *iop;
off_t offset;
uint8_t *buffer;
char *buffer;
uint32_t count;
uint32_t flags;
uint32_t bytes_moved;