MPD: storage/StorageState.hxx File Reference

MPD 0.20.18

Functions
StorageState.hxx File Reference

Go to the source code of this file.

## Functions
void | storage_state_save (BufferedOutputStream &os, const Instance &instance)
bool | storage_state_restore (const char *line, TextFile &file, Instance &instance)
unsigned | storage_state_get_hash (const Instance &instance)
| Generates a hash number for the current state of the composite storage. More...

## Function Documentation

## ◆ storage_state_get_hash()

unsigned storage_state_get_hash | ( | const Instance & | instance | ) |

Generates a hash number for the current state of the composite storage.

This is used by timer_save_state_file() to determine whether the state has changed and the state file should be saved.

## ◆ storage_state_restore()

bool storage_state_restore | ( | const char * | line,
|  | TextFile & | file,
|  | Instance & | instance
| ) |  |

## ◆ storage_state_save()

void storage_state_save | ( | BufferedOutputStream & | os,
|  | const Instance & | instance
| ) |  |