Differences From Artifact [d56d383dc1]:
- File src/main.c — part of check-in [a9070a4944] at 2011-10-02 18:28:52 on branch json — Merged in trunk [ae64088627df]. Added /json/timeline/checkin as alias for /json/timeline/commit (checkin is historically more correct/consistent). (user: stephan size: 50082) [more...]
To Artifact [a464d4b1e6]:
- File src/main.c — part of check-in [1a4c874e43] at 2011-10-02 21:01:20 on branch json — moved /json/branch code into its own file. (user: stephan size: 50143)
| ︙ | ︙ | |||
199 200 201 202 203 204 205 206 207 208 209 210 211 212 |
cson_array * a;
int offset; /* Tells us which PATH_INFO/CLI args
part holds the "json" command, so
that we can account for sub-repos
and path prefixes. This is handled
differently for CLI and CGI modes.
*/
} cmd;
struct { /* JSON POST data. */
cson_value * v;
cson_object * o;
} post;
struct { /* GET/COOKIE params in JSON mode. */
cson_value * v;
| > | 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 |
cson_array * a;
int offset; /* Tells us which PATH_INFO/CLI args
part holds the "json" command, so
that we can account for sub-repos
and path prefixes. This is handled
differently for CLI and CGI modes.
*/
char const * commandStr /*"command" request param.*/;
} cmd;
struct { /* JSON POST data. */
cson_value * v;
cson_object * o;
} post;
struct { /* GET/COOKIE params in JSON mode. */
cson_value * v;
|
| ︙ | ︙ |