comparison paste.h @ 38:48834441dc86

pasterd: generate smaller identifiers, closes #2480 @1h
author David Demelier <markand@malikania.fr>
date Wed, 12 Feb 2020 20:55:00 +0100
parents f3ba621ab51f
children 07b6887d3557
comparison
equal deleted inserted replaced
37:e05b26209ad3 38:48834441dc86
31 * \brief Paste structure. 31 * \brief Paste structure.
32 * 32 *
33 * Every string in the paste is assumed to be allocated on the heap. 33 * Every string in the paste is assumed to be allocated on the heap.
34 */ 34 */
35 struct paste { 35 struct paste {
36 char *uuid; 36 char *id;
37 char *title; 37 char *title;
38 char *author; 38 char *author;
39 char *language; 39 char *language;
40 char *code; 40 char *code;
41 time_t timestamp; 41 time_t timestamp;