PatchworkOS  3984a1d
A non-POSIX operating system.
Loading...
Searching...
No Matches
history.c File Reference
#include "history.h"
#include <stdlib.h>
#include <string.h>
Include dependency graph for history.c:

Go to the source code of this file.

Functions

void history_init (history_t *history)
 
void history_deinit (history_t *history)
 
void history_push (history_t *history, const char *entry)
 
const charhistory_next (history_t *history)
 
const charhistory_previous (history_t *history)
 

Function Documentation

◆ history_init()

void history_init ( history_t history)

Definition at line 6 of file history.c.

Here is the caller graph for this function:

◆ history_deinit()

void history_deinit ( history_t history)

Definition at line 12 of file history.c.

Here is the call graph for this function:

◆ history_push()

void history_push ( history_t history,
const char entry 
)

Definition at line 20 of file history.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ history_next()

const char * history_next ( history_t history)

Definition at line 48 of file history.c.

Here is the caller graph for this function:

◆ history_previous()

const char * history_previous ( history_t history)

Definition at line 60 of file history.c.

Here is the caller graph for this function: