diff options
Diffstat (limited to 'src/HTTPD_FileList.c')
-rw-r--r-- | src/HTTPD_FileList.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/HTTPD_FileList.c b/src/HTTPD_FileList.c index fbc4a87..cf5b3ec 100644 --- a/src/HTTPD_FileList.c +++ b/src/HTTPD_FileList.c @@ -6,59 +6,59 @@ size_t HTTPD_FileList_NumberOfItems( const FileList * list ) { - return List_NumberOfItems( list ); + return List_NumberOfItems( list ); } FileList * HTTPD_FileList_New() { - return (FileList *)List_New(); + return (FileList *)List_New(); } void HTTPD_FileList_Delete( FileList * list ) { - List_Delete( list ); + List_Delete( list ); } void HTTPD_FileList_FreeItemsInListAndEmpty( FileList * list ) { - List_FreeItemsInListAndEmpty( list ); + List_FreeItemsInListAndEmpty( list ); } void HTTPD_FileList_Append( FileList * list, httpFileItem * item ) { - List_Append( list, item ); + List_Append( list, item ); } httpFileItem * HTTPD_FileList_Item( const FileList * list, size_t index ) { - return List_Item( list, index ); + return List_Item( list, index ); } void HTTPD_FileList_SortAccordingTo( FileList * list, - HTTPD_FileListSortComparison comparison ) + HTTPD_FileListSortComparison comparison ) { - List_SortAccordingTo( list, (ListSortComparison)comparison ); + List_SortAccordingTo( list, (ListSortComparison)comparison ); } int HTTPD_FileListCompare_Var_Thorn_Slice( - const httpFileItem * a, const httpFileItem * b ) + const httpFileItem * a, const httpFileItem * b ) { - int order = Compare( a->varname, b->varname ); - if( order == 0 ) - { - order = Compare( a->thorn, b->thorn ); - if( order == 0 ) - return Compare( a->slice, b->slice ); - else - return order; - } - else - return order; + int order = Compare( a->varname, b->varname ); + if( order == 0 ) + { + order = Compare( a->thorn, b->thorn ); + if( order == 0 ) + return Compare( a->slice, b->slice ); + else + return order; + } + else + return order; } |