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

Side by Side Diff: utils/archive/entry.h

Issue 12016011: Remove utils/archive. It is not used at this point. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « utils/archive/dart_archive.c ('k') | utils/archive/entry.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 /**
6 * This file declares request-handling functions for handling archive entries.
7 * Each function is called when a message is received with the corresponding
8 * request type, and posts a success or error response to the reply port.
9 *
10 * There is a close correspondence between most functions here and the
11 * libarchive API. It's left up to the Dart code to present a more Darty API. As
12 * such, documentation of these functions is omitted, since it's available in
13 * the libarchive documentation.
14 */
15 #ifndef DART_ARCHIVE_ENTRY_H_
16 #define DART_ARCHIVE_ENTRY_H_
17
18 #include "dart_archive.h"
19
20 /**
21 * Posts a response containing all the data in archive entry [e]. If [e] is
22 * `NULL`, posts an error response instead.
23 */
24 void postArchiveEntryArray(Dart_Port p, struct archive_entry* e);
25
26 void archiveEntryClone(Dart_Port p, struct archive_entry* e);
27
28 void archiveEntryFree(Dart_Port p, struct archive_entry* e);
29
30 void archiveEntryNew(Dart_Port p);
31
32 void archiveEntrySetHardlink(Dart_Port p, struct archive_entry* e,
33 Dart_CObject* request);
34
35 void archiveEntrySetPathname(Dart_Port p, struct archive_entry* e,
36 Dart_CObject* request);
37
38 void archiveEntrySetSourcepath(Dart_Port p, struct archive_entry* e,
39 Dart_CObject* request);
40
41 void archiveEntrySetSymlink(Dart_Port p, struct archive_entry* e,
42 Dart_CObject* request);
43
44 void archiveEntrySetGid(Dart_Port p, struct archive_entry* e,
45 Dart_CObject* request);
46
47 void archiveEntrySetUid(Dart_Port p, struct archive_entry* e,
48 Dart_CObject* request);
49
50 void archiveEntrySetPerm(Dart_Port p, struct archive_entry* e,
51 Dart_CObject* request);
52
53 void archiveEntrySetGname(Dart_Port p, struct archive_entry* e,
54 Dart_CObject* request);
55
56 void archiveEntrySetUname(Dart_Port p, struct archive_entry* e,
57 Dart_CObject* request);
58
59 void archiveEntrySetFflagsSet(Dart_Port p, struct archive_entry* e,
60 Dart_CObject* request);
61
62 void archiveEntrySetFflagsClear(Dart_Port p, struct archive_entry* e,
63 Dart_CObject* request);
64
65 void archiveEntrySetFflagsText(Dart_Port p, struct archive_entry* e,
66 Dart_CObject* request);
67
68 void archiveEntrySetFiletype(Dart_Port p, struct archive_entry* e,
69 Dart_CObject* request);
70
71 void archiveEntrySetMode(Dart_Port p, struct archive_entry* e,
72 Dart_CObject* request);
73
74 void archiveEntrySetSize(Dart_Port p, struct archive_entry* e,
75 Dart_CObject* request);
76
77 void archiveEntrySetDev(Dart_Port p, struct archive_entry* e,
78 Dart_CObject* request);
79
80 void archiveEntrySetDevmajor(Dart_Port p, struct archive_entry* e,
81 Dart_CObject* request);
82
83 void archiveEntrySetDevminor(Dart_Port p, struct archive_entry* e,
84 Dart_CObject* request);
85
86 void archiveEntrySetIno(Dart_Port p, struct archive_entry* e,
87 Dart_CObject* request);
88
89 void archiveEntrySetNlink(Dart_Port p, struct archive_entry* e,
90 Dart_CObject* request);
91
92 void archiveEntrySetRdev(Dart_Port p, struct archive_entry* e,
93 Dart_CObject* request);
94
95 void archiveEntrySetRdevmajor(Dart_Port p, struct archive_entry* e,
96 Dart_CObject* request);
97
98 void archiveEntrySetRdevminor(Dart_Port p, struct archive_entry* e,
99 Dart_CObject* request);
100
101 void archiveEntrySetAtime(Dart_Port p, struct archive_entry* e,
102 Dart_CObject* request);
103
104 void archiveEntrySetBirthtime(Dart_Port p, struct archive_entry* e,
105 Dart_CObject* request);
106
107 void archiveEntrySetCtime(Dart_Port p, struct archive_entry* e,
108 Dart_CObject* request);
109
110 void archiveEntrySetMtime(Dart_Port p, struct archive_entry* e,
111 Dart_CObject* request);
112
113 #endif // DART_ARCHIVE_MESSAGING_H_
114
OLDNEW
« no previous file with comments | « utils/archive/dart_archive.c ('k') | utils/archive/entry.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698