/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to DBUS-API

  • Committer: Teddy Hogeborn
  • Date: 2013-10-27 00:45:08 UTC
  • Revision ID: teddy@recompile.se-20131027004508-puplag2stsmnkfig
Fix fallback to /var/run if /run does not exist for Makefile.

* Makefile (purge-server): Also purge the pid file in the old
                           location, if any.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
    Assert that this client has been checked and found to be alive.
56
56
    This will restart the timeout before disabling this client.  See
57
57
    also the "LastCheckedOK" property.
 
58
    
 
59
*** Disable() → nothing
 
60
    Disable this client.  See also the "Enabled" property.
 
61
    
 
62
*** Enable() → nothing
 
63
    Enable this client.  See also the "Enabled" property.
 
64
    
 
65
*** StartChecker() → nothing
 
66
    Start a new checker for this client, if none is currently
 
67
    running.  See also the "CheckerRunning" property.
 
68
    
 
69
*** StopChecker() → nothing
 
70
    Abort a running checker process for this client, if any.  See also
 
71
    the "CheckerRunning" property.
58
72
 
59
73
** Properties
60
74
   
90
104
   
91
105
   b) An approval is currently pending.
92
106
   
93
 
   c) Changing this property can either start a new checker or abort a
94
 
      running one.
 
107
   c) Setting this property is equivalent to calling StartChecker() or
 
108
      StopChecker().
95
109
   
96
110
   d) The creation time of this client object, as an RFC 3339 string.
97
111
   
98
 
   e) Changing this property enables or disables a client.
 
112
   e) Setting this property is equivalent to calling Enable() or
 
113
      Disable().
99
114
   
100
115
   f) The date and time this client will be disabled, as an RFC 3339
101
116
      string, or an empty string if this is not scheduled.
119
134
   k) A raw byte array, not hexadecimal digits.
120
135
 
121
136
** Signals
122
 
*** CheckerCompleted(n: Exitcode, x: Signal, s: Command)
 
137
*** CheckerCompleted(n: Exitcode, x: Waitstatus, s: Command)
123
138
    A checker (Command) has completed.  Exitcode is either the exit
124
 
    code or -1 for abnormal exit, in which case, the signal number
125
 
    is available.
 
139
    code or -1 for abnormal exit.  In any case, the full Waitstatus
 
140
    (as from wait(2)) is also available.
126
141
    
127
142
*** CheckerStarted(s: Command)
128
143
    A checker command (Command) has just been started.
135
150
    milliseconds, depending on ApprovedByDefault.  Approve() can now
136
151
    usefully be called on this client object.
137
152
    
 
153
*** PropertyChanged(s: Property, v: Value)
 
154
    The Property on this client has changed to Value.
 
155
    
138
156
*** Rejected(s: Reason)
139
157
    This client was not given its secret for a specified Reason.
140
158
 
141
159
* Copyright
142
160
 
143
 
    Copyright © 2010-2015 Teddy Hogeborn
144
 
    Copyright © 2010-2015 Björn Påhlsson
 
161
    Copyright © 2010-2012 Teddy Hogeborn
 
162
    Copyright © 2010-2012 Björn Påhlsson
145
163
  
146
164
** License:
147
165