added iOS source code
[wl-app.git] / iOS / Pods / Realm / include / core / realm / sync / changeset_parser.hpp
diff --git a/iOS/Pods/Realm/include/core/realm/sync/changeset_parser.hpp b/iOS/Pods/Realm/include/core/realm/sync/changeset_parser.hpp
new file mode 100644 (file)
index 0000000..29cb512
--- /dev/null
@@ -0,0 +1,43 @@
+/*************************************************************************
+ *
+ * REALM CONFIDENTIAL
+ * __________________
+ *
+ *  [2011] - [2017] Realm Inc
+ *  All Rights Reserved.
+ *
+ * NOTICE:  All information contained herein is, and remains
+ * the property of Realm Incorporated and its suppliers,
+ * if any.  The intellectual and technical concepts contained
+ * herein are proprietary to Realm Incorporated
+ * and its suppliers and may be covered by U.S. and Foreign Patents,
+ * patents in process, and are protected by trade secret or copyright law.
+ * Dissemination of this information or reproduction of this material
+ * is strictly forbidden unless prior written permission is obtained
+ * from Realm Incorporated.
+ *
+ **************************************************************************/
+
+#ifndef REALM_SYNC_CHANGESET_PARSER_HPP
+#define REALM_SYNC_CHANGESET_PARSER_HPP
+
+#include <realm/sync/changeset.hpp>
+#include <realm/impl/input_stream.hpp>
+
+namespace realm {
+namespace sync {
+
+struct ChangesetParser {
+    void parse(_impl::NoCopyInputStream&, InstructionHandler&);
+private:
+    struct State;
+};
+
+void parse_changeset(_impl::NoCopyInputStream&, Changeset& out_log);
+void parse_changeset(_impl::InputStream&, Changeset& out_log);
+
+
+} // namespace sync
+} // namespace realm
+
+#endif // REALM_SYNC_CHANGESET_PARSER_HPP
\ No newline at end of file