~jamesodhunt/upstart/bug-530779-with-formatting-changes

« back to all changes in this revision

Viewing changes to init/job_class.h

  • Committer: Lukáš Nykrýn
  • Date: 2012-02-16 15:45:41 UTC
  • mto: This revision was merged to the branch mainline in revision 1358.
  • Revision ID: lnykryn@redhat.com-20120216154541-f1ngijj35s5dhgmi
Add usage stanza (Petr Lautrbach <plautrba@redhat.com>)

Show diffs side-by-side

added added

removed removed

Lines of Context:
163
163
 * @setuid: user name to drop to before starting process,
164
164
 * @setgid: group name to drop to before starting process,
165
165
 * @deleted: whether job should be deleted when finished.
 
166
 * @usage: usage text - how to control job
166
167
 *
167
168
 * This structure holds the configuration of a known task or service that
168
169
 * should be tracked by the init daemon; as tasks and services are
217
218
 
218
219
        int             deleted;
219
220
        int             debug;
 
221
 
 
222
        char           *usage;
220
223
} JobClass;
221
224
 
222
225
 
299
302
int         job_class_get_emits            (JobClass *class,
300
303
                                            NihDBusMessage *message,
301
304
                                            char ***emits);
 
305
int         job_class_get_usage            (JobClass *class,
 
306
                                            NihDBusMessage *message,
 
307
                                            char **usage);
302
308
 
303
309
ConsoleType job_class_console_type         (const char *console)
304
310
        __attribute__ ((warn_unused_result));