Index: utils/archive/dart_archive.c |
diff --git a/utils/archive/dart_archive.c b/utils/archive/dart_archive.c |
index 057adface2f33debc87a32e99065e072dcf39c43..da284a6cb3fa9a7e5182947e15bededdae5fc4a8 100644 |
--- a/utils/archive/dart_archive.c |
+++ b/utils/archive/dart_archive.c |
@@ -5,6 +5,7 @@ |
#include <assert.h> |
#include <errno.h> |
#include <stdlib.h> |
+#include <string.h> |
#include "dart_archive.h" |
#include "entry.h" |
@@ -31,9 +32,9 @@ enum RequestType { |
kArchiveReadSupportFormatRaw, |
kArchiveReadSupportFormatTar, |
kArchiveReadSupportFormatZip, |
- kArchiveReadSetFilterOptions, |
- kArchiveReadSetFormatOptions, |
- kArchiveReadSetOptions, |
+ kArchiveReadSetFilterOption, |
+ kArchiveReadSetFormatOption, |
+ kArchiveReadSetOption, |
kArchiveReadOpenFilename, |
kArchiveReadOpenMemory, |
kArchiveReadNextHeader, |
@@ -46,7 +47,6 @@ enum RequestType { |
kArchiveEntryNew, |
kArchiveEntrySetHardlink, |
kArchiveEntrySetPathname, |
- kArchiveEntrySetSourcepath, |
kArchiveEntrySetSymlink, |
kArchiveEntrySetGid, |
kArchiveEntrySetUid, |
@@ -169,14 +169,14 @@ static void archiveDispatch(Dart_Port dest_port_id, |
case kArchiveReadSupportFormatZip: |
archiveReadSupportFormatZip(reply_port_id, (struct archive*) ptr); |
break; |
- case kArchiveReadSetFilterOptions: |
- archiveReadSetFilterOptions(reply_port_id, (struct archive*) ptr, message); |
+ case kArchiveReadSetFilterOption: |
+ archiveReadSetFilterOption(reply_port_id, (struct archive*) ptr, message); |
break; |
- case kArchiveReadSetFormatOptions: |
- archiveReadSetFormatOptions(reply_port_id, (struct archive*) ptr, message); |
+ case kArchiveReadSetFormatOption: |
+ archiveReadSetFormatOption(reply_port_id, (struct archive*) ptr, message); |
break; |
- case kArchiveReadSetOptions: |
- archiveReadSetOptions(reply_port_id, (struct archive*) ptr, message); |
+ case kArchiveReadSetOption: |
+ archiveReadSetOption(reply_port_id, (struct archive*) ptr, message); |
break; |
case kArchiveReadOpenFilename: |
archiveReadOpenFilename(reply_port_id, (struct archive*) ptr, message); |
@@ -216,10 +216,6 @@ static void archiveDispatch(Dart_Port dest_port_id, |
archiveEntrySetPathname( |
reply_port_id, (struct archive_entry*) ptr, message); |
break; |
- case kArchiveEntrySetSourcepath: |
- archiveEntrySetSourcepath( |
- reply_port_id, (struct archive_entry*) ptr, message); |
- break; |
case kArchiveEntrySetSymlink: |
archiveEntrySetSymlink(reply_port_id, (struct archive_entry*) ptr, message); |
break; |
@@ -246,10 +242,6 @@ static void archiveDispatch(Dart_Port dest_port_id, |
archiveEntrySetFflagsClear( |
reply_port_id, (struct archive_entry*) ptr, message); |
break; |
- case kArchiveEntrySetFflagsText: |
- archiveEntrySetFflagsText( |
- reply_port_id, (struct archive_entry*) ptr, message); |
- break; |
case kArchiveEntrySetFiletype: |
archiveEntrySetFiletype( |
reply_port_id, (struct archive_entry*) ptr, message); |