Annotation of researchv10no/cmd/nupas/smtp/header.h, revision 1.1

1.1     ! root        1: typedef struct {
        !             2:        char *name;     /* header name */
        !             3:        int size;       /* size of name */
        !             4:        string *line;   /* header line */
        !             5: } header;
        !             6: 
        !             7: extern header hdrs[];          /* important headers */
        !             8: 
        !             9: /* some useful macros */
        !            10: #define HEADER(s) { s, sizeof(s)-1, (string *)0 }
        !            11: #define STRCMP(s, p) strncmp((s), (p)->name, (p)->size)
        !            12: #define HCONTENT(p) (s_to_c(p.line) + p.size)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.