Changeset a72c454 in rtems


Ignore:
Timestamp:
08/05/05 10:38:05 (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
da6d75f
Parents:
c79a45b
Message:

Introduce msdos_status_t.

Location:
cpukit/libfs/src/dosfs
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/src/dosfs/msdos.h

    rc79a45b ra72c454  
    2727
    2828#define MSDOS_NAME_NOT_FOUND_ERR  0xDD000001
     29
     30typedef uint32_t msdos_status_t;
    2931
    3032/*
     
    196198
    197199/* Prototypes */
    198 int
     200msdos_status_t
    199201msdos_initialize(rtems_filesystem_mount_table_entry_t *temp_mt_entry);
    200202
    201 int
     203msdos_status_t
    202204msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry);
    203205
    204 int
     206msdos_status_t
    205207msdos_eval_path(const char                       *pathname, /* IN */
    206208                int                               flags,    /* IN */
    207209                rtems_filesystem_location_info_t *pathloc   /* IN/OUT */);
    208210
    209 int
     211msdos_status_t
    210212msdos_eval4make(const char                       *path,     /* IN */
    211213                rtems_filesystem_location_info_t *pathloc,  /* IN/OUT */
     
    215217msdos_unlink(rtems_filesystem_location_info_t *pathloc /* IN */);
    216218
    217 int
     219msdos_status_t
    218220msdos_free_node_info(rtems_filesystem_location_info_t *pathloc /* IN */);
    219221
     
    221223msdos_node_type(rtems_filesystem_location_info_t    *pathloc);
    222224
    223 int
     225msdos_status_t
    224226msdos_mknod(const char                       *path,   /* IN */
    225227            mode_t                            mode,   /* IN */
     
    227229            rtems_filesystem_location_info_t *pathloc /* IN/OUT */);
    228230
    229 int
     231msdos_status_t
    230232msdos_utime(rtems_filesystem_location_info_t *pathloc, /* IN */
    231233            time_t                            actime,  /* IN */
     
    295297);
    296298
    297 int
     299msdos_status_t
    298300msdos_file_rmnod(rtems_filesystem_location_info_t *pathloc /* IN */);
    299301
    300 int
     302msdos_status_t
    301303msdos_file_link(rtems_filesystem_location_info_t *to_loc,
    302304                rtems_filesystem_location_info_t *pa_loc,
     
    356358                char                             *name);
    357359
    358 int
     360msdos_status_t
    359361msdos_get_name_node(rtems_filesystem_location_info_t *parent_loc,
    360362                    char                             *name,
     
    401403                   rtems_boolean                        *ret_val);
    402404
    403 int
     405msdos_status_t
    404406msdos_find_name_in_fat_file(
    405407    rtems_filesystem_mount_table_entry_t *mt_entry,
     
    409411    char                                 *name_dir_entry);
    410412
    411 int
     413msdos_status_t
    412414msdos_find_node_by_cluster_num_in_fat_file(
    413415    rtems_filesystem_mount_table_entry_t *mt_entry,
  • cpukit/libfs/src/dosfs/msdos_create.c

    rc79a45b ra72c454  
    286286 *     RC_OK on success, or -1 if error occured (errno set appropriately)
    287287 */
    288 int
     288msdos_status_t
    289289msdos_file_link(rtems_filesystem_location_info_t *to_loc,
    290290                rtems_filesystem_location_info_t *par_loc,
  • cpukit/libfs/src/dosfs/msdos_eval.c

    rc79a45b ra72c454  
    7070 *
    7171 */
    72 int
     72msdos_status_t
    7373msdos_eval_path(
    7474    const char                        *pathname,
     
    7777    )
    7878{
    79     int                               rc = RC_OK;
     79    msdos_status_t                    rc = RC_OK;
    8080    rtems_status_code                 sc = RTEMS_SUCCESSFUL;
    8181    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
     
    251251 *     success, or -1 if error occured (errno set appropriately)
    252252 */
    253 int
     253msdos_status_t
    254254msdos_eval4make(
    255255    const char                         *path,
     
    258258    )
    259259{
    260     int                               rc = RC_OK;
     260    msdos_status_t                    rc = RC_OK;
    261261    rtems_status_code                 sc = RTEMS_SUCCESSFUL;
    262262    msdos_fs_info_t                  *fs_info = pathloc->mt_entry->fs_info;
  • cpukit/libfs/src/dosfs/msdos_file.c

    rc79a45b ra72c454  
    456456 *     RC_OK on success, or -1 if error occured (errno set appropriately)
    457457 */
    458 int
     458msdos_status_t
    459459msdos_file_rmnod(rtems_filesystem_location_info_t *pathloc)
    460460{
    461     int                rc = RC_OK;
     461    msdos_status_t     rc = RC_OK;
    462462    rtems_status_code  sc = RTEMS_SUCCESSFUL;
    463463    msdos_fs_info_t   *fs_info = pathloc->mt_entry->fs_info;
  • cpukit/libfs/src/dosfs/msdos_free.c

    rc79a45b ra72c454  
    3838 *
    3939 */
    40 int
     40msdos_status_t
    4141msdos_free_node_info(rtems_filesystem_location_info_t *pathloc)
    4242{
  • cpukit/libfs/src/dosfs/msdos_fsunmount.c

    rc79a45b ra72c454  
    4444 *
    4545 */
    46 int
     46msdos_status_t
    4747msdos_shut_down(rtems_filesystem_mount_table_entry_t *temp_mt_entry)
    4848{
    49     int              rc = RC_OK;
     49    msdos_status_t   rc = RC_OK;
    5050    msdos_fs_info_t *fs_info = temp_mt_entry->fs_info;
    5151    fat_file_fd_t   *fat_fd = temp_mt_entry->mt_fs_root.node_access;
  • cpukit/libfs/src/dosfs/msdos_init.c

    rc79a45b ra72c454  
    5252 *
    5353 */
    54 int
     54msdos_status_t
    5555msdos_initialize(rtems_filesystem_mount_table_entry_t *temp_mt_entry)
    5656{
    57     int rc = RC_OK;
     57    msdos_status_t rc;
    5858
    5959    rc = msdos_initialize_support(temp_mt_entry,
  • cpukit/libfs/src/dosfs/msdos_misc.c

    rc79a45b ra72c454  
    253253 *
    254254 */
    255 int
     255msdos_status_t
    256256msdos_get_name_node(
    257257    rtems_filesystem_location_info_t *parent_loc,
     
    261261    )
    262262{
    263     int              rc = RC_OK;
     263    msdos_status_t   rc = RC_OK;
    264264    ssize_t          ret = 0;
    265265    msdos_fs_info_t *fs_info = parent_loc->mt_entry->fs_info;
     
    763763 *
    764764 */
    765 int
     765msdos_status_t
    766766msdos_find_name_in_fat_file(
    767767    rtems_filesystem_mount_table_entry_t *mt_entry,
     
    772772    )
    773773{
    774     int              rc = RC_OK;
     774    msdos_status_t   rc = RC_OK;
    775775    ssize_t          ret = 0;
    776776    msdos_fs_info_t *fs_info = mt_entry->fs_info;
     
    881881 *
    882882 */
    883 int
     883msdos_status_t
    884884msdos_find_node_by_cluster_num_in_fat_file(
    885885    rtems_filesystem_mount_table_entry_t *mt_entry,
     
    890890    )
    891891{
    892     int              rc = RC_OK;
     892    msdos_status_t   rc = RC_OK;
    893893    ssize_t          ret = 0;
    894894    msdos_fs_info_t *fs_info = mt_entry->fs_info;
  • cpukit/libfs/src/dosfs/msdos_mknod.c

    rc79a45b ra72c454  
    4646 *
    4747 */
    48 int
     48msdos_status_t
    4949msdos_mknod(
    5050    const char                        *token,
     
    5454    )
    5555{
    56     int                  rc = RC_OK;
     56    msdos_status_t       rc = RC_OK;
    5757    rtems_status_code    sc = RTEMS_SUCCESSFUL;
    5858    msdos_fs_info_t     *fs_info = pathloc->mt_entry->fs_info;
Note: See TracChangeset for help on using the changeset viewer.