archive_read_support_format_by_code.c (302408) | archive_read_support_format_by_code.c (342360) |
---|---|
1/*- 2 * Copyright (c) 2003-2011 Tim Kientzle 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 46 unchanged lines hidden (view full) --- 55 return archive_read_support_format_lha(a); 56 break; 57 case ARCHIVE_FORMAT_MTREE: 58 return archive_read_support_format_mtree(a); 59 break; 60 case ARCHIVE_FORMAT_RAR: 61 return archive_read_support_format_rar(a); 62 break; | 1/*- 2 * Copyright (c) 2003-2011 Tim Kientzle 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 46 unchanged lines hidden (view full) --- 55 return archive_read_support_format_lha(a); 56 break; 57 case ARCHIVE_FORMAT_MTREE: 58 return archive_read_support_format_mtree(a); 59 break; 60 case ARCHIVE_FORMAT_RAR: 61 return archive_read_support_format_rar(a); 62 break; |
63 case ARCHIVE_FORMAT_RAR_V5: 64 return archive_read_support_format_rar5(a); 65 break; |
|
63 case ARCHIVE_FORMAT_TAR: 64 return archive_read_support_format_tar(a); 65 break; 66 case ARCHIVE_FORMAT_XAR: 67 return archive_read_support_format_xar(a); 68 break; 69 case ARCHIVE_FORMAT_ZIP: 70 return archive_read_support_format_zip(a); 71 break; 72 } 73 return (ARCHIVE_FATAL); 74} | 66 case ARCHIVE_FORMAT_TAR: 67 return archive_read_support_format_tar(a); 68 break; 69 case ARCHIVE_FORMAT_XAR: 70 return archive_read_support_format_xar(a); 71 break; 72 case ARCHIVE_FORMAT_ZIP: 73 return archive_read_support_format_zip(a); 74 break; 75 } 76 return (ARCHIVE_FATAL); 77} |