~ubuntu-core-dev/ubuntu/raring/upstart/raring

« back to all changes in this revision

Viewing changes to init/process.h

  • Committer: Stéphane Graber
  • Date: 2013-03-07 18:43:01 UTC
  • mfrom: (1182.56.54 upstart)
  • Revision ID: stgraber@ubuntu.com-20130307184301-dlmb1c5bwonqagkw
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
NIH_BEGIN_EXTERN
72
72
 
73
73
Process *   process_new       (const void *parent)
74
 
        __attribute__ ((warn_unused_result, malloc));
 
74
        __attribute__ ((warn_unused_result));
75
75
 
76
76
const char *process_name      (ProcessType process)
77
77
        __attribute__ ((const));
78
78
 
79
79
json_object *process_serialise (const Process *process)
80
 
        __attribute__ ((malloc, warn_unused_result));
 
80
        __attribute__ ((warn_unused_result));
81
81
 
82
82
Process *process_deserialise (json_object *json, const void *parent)
83
 
        __attribute__ ((malloc, warn_unused_result));
 
83
        __attribute__ ((warn_unused_result));
84
84
 
85
85
json_object *
86
86
process_serialise_all (const Process * const * const processes)
87
 
        __attribute__ ((malloc, warn_unused_result));
 
87
        __attribute__ ((warn_unused_result));
88
88
 
89
89
ProcessType process_from_name (const char *process)
90
90
        __attribute__ ((warn_unused_result));