| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-03 05:11:31 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2015-09-03 05:11:31 +0200 | 
| commit | 5867bb8f12f3841a06eed3cd253365be0728c0af (patch) | |
| tree | 990fef402177d252f800ae1c01931532f869964b /src/config.h | |
| parent | 8e9d02a8bf86555cd040b5e7a29a12851e9764bf (diff) | |
Now applies the 'fuzz' and 'flat' properties.
Diffstat (limited to 'src/config.h')
| -rw-r--r-- | src/config.h | 7 | 
1 files changed, 5 insertions, 2 deletions
| diff --git a/src/config.h b/src/config.h index 1ede1f3..c0c83a7 100644 --- a/src/config.h +++ b/src/config.h @@ -8,6 +8,7 @@  struct relabsd_config_axis  {     int enabled; +   int previous_value;     int min;     int max;     int fuzz; @@ -54,11 +55,13 @@ int relabsd_config_parse   *   * If the return value is 0, this function will not have altered the value at   * 'value'. Otherwise, this function can have altered it to match its - * requierements. + * requirements. + * If the return value is either 0 or -1, the 'previous_value' of the axis + * has been updated.   */  int relabsd_config_filter  ( -   const struct relabsd_config * const conf, +   struct relabsd_config * const conf,     enum relabsd_axis const axis,     int * const value  ); | 


