PUD: split position and gateway paths
[olsrd.git] / lib / pud / src / state.h
index e008bab..12202cd 100644 (file)
@@ -48,6 +48,7 @@ bool initState(void);
 void destroyState(void);
 MovementState getExternalState(void);
 MovementState getInternalState(SubStateIndex subStateIndex);
-bool determineStateWithHysteresis(SubStateIndex subStateIndex, TristateBoolean movingNow);
+bool determineStateWithHysteresis(SubStateIndex subStateIndex, TristateBoolean movingNow,
+               MovementState * externalState);
 
 #endif /* _PUD_STATE_H_ */