Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(559)

Unified Diff: utils/archive/messaging.h

Issue 10824210: Fix the archive code so that it compiles in a stricter mode. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Small fixes Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « utils/archive/entry_request.dart ('k') | utils/archive/messaging.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/archive/messaging.h
diff --git a/utils/archive/messaging.h b/utils/archive/messaging.h
index 208294c3cc0a8f1fb761ab894fc62ed789ea8cc2..bce0692a869f7d742f5c86aa976ef3bba53e9cbe 100644
--- a/utils/archive/messaging.h
+++ b/utils/archive/messaging.h
@@ -121,6 +121,13 @@ Dart_CObject* getNullableStringArgument(Dart_Port p, Dart_CObject* request,
*/
char* getNullableString(Dart_CObject* object);
+/**
+ * Gets the module, name, and value, for a libarchive `set_option` function
+ * call. Returns whether or not the arguments were parsed correctly.
+ */
+bool getOptionArguments(Dart_Port p, Dart_CObject* request, char** module,
+ char** name, char** value);
+
/** Declares a null [Dart_CObject] named [name]. */
#define DART_NULL(name) \
Dart_CObject name; \
« no previous file with comments | « utils/archive/entry_request.dart ('k') | utils/archive/messaging.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698