shellmatta_history.h 823 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Copyright (c) 2019 Stefan Strobel <stefan.strobel@shimatta.net>
  3. *
  4. * This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at https://mozilla.org/MPL/2.0/.
  7. */
  8. /**
  9. * @file shellmatta_history.h
  10. * @brief history buffer functions of shellmatta
  11. * @author Stefan Strobel <stefan.strobel@shimatta.net>
  12. */
  13. /**
  14. * @addtogroup shellmatta_api
  15. * @{
  16. */
  17. #ifndef _SHELLMATTA_HISTORY_H_
  18. #define _SHELLMATTA_HISTORY_H_
  19. #include "shellmatta.h"
  20. #include <stdint.h>
  21. bool history_navigate(shellmatta_instance_t *inst, int32_t cnt);
  22. void history_storeCmd(shellmatta_instance_t *inst);
  23. void history_restoreCmd(shellmatta_instance_t *inst);
  24. void history_reset(shellmatta_instance_t *inst);
  25. #endif
  26. /** @} */