You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
451 B
C
18 lines
451 B
C
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
|
|
struct http_request;
|
|
struct status;
|
|
struct account;
|
|
|
|
void show_status( struct http_request* req, struct status* s );
|
|
void show_status_context( struct http_request* req, struct status* s );
|
|
void show_statuses( struct http_request* req, struct status** ss, int count );
|
|
|
|
bool handle_post( struct http_request* req, struct account* a );
|
|
|
|
void api_status_write_as_json( struct status* s, FILE* f );
|
|
|