~jamesodhunt/upstart/foo

« back to all changes in this revision

Viewing changes to init/event.h

Merge of lp:~jamesodhunt/upstart/upstream-session-support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* upstart
2
2
 *
3
 
 * Copyright © 2009 Canonical Ltd.
 
3
 * Copyright © 2010 Canonical Ltd.
4
4
 * Author: Scott James Remnant <scott@netsplit.com>.
5
5
 *
6
6
 * This program is free software; you can redistribute it and/or modify
23
23
#include <nih/macros.h>
24
24
#include <nih/list.h>
25
25
 
 
26
#include "session.h"
 
27
 
26
28
 
27
29
/**
28
30
 * EventProgress:
40
42
/**
41
43
 * Event:
42
44
 * @entry: list header,
 
45
 * @session: session the event is attached to,
43
46
 * @name: string name of the event,
44
47
 * @env: NULL-terminated array of environment variables,
45
48
 * @progress: progress of event,
61
64
typedef struct event {
62
65
        NihList          entry;
63
66
 
 
67
        Session *        session;
64
68
        char            *name;
65
69
        char           **env;
66
70