sent.h

./driver3.2@242/sent.h · 609 B

From the archive driver3.2@242.tar.gz

Download the archive   « Back to the archive contents

#define SENT_PLAIN	0
#define SENT_SHORT_VERB	1
#define SENT_NO_SPACE	2
#define SENT_NO_VERB	3
#define SENT_MARKER	4

struct sentence {
    char *verb;
    struct object *ob;
    char *function;
    struct sentence *next;
    unsigned short short_verb;	/* Only leading characters count */
    unsigned char type;
};

struct input_to {
    struct object *ob;
    char *function;
    int num_arg;
    struct svalue arg[1];
};

struct sentence *alloc_sentence();

void remove_sent PROT((struct object *, struct object *)),
    free_sentence PROT((struct sentence *)),
    free_input_to PROT((struct input_to *));

Site Stats

Snippets: 1791
Codebases: 571