1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/xboot-xfel

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
progress.h 421 Байт
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
JianjunJiang Отправлено 06.08.2021 06:54 977c650
#ifndef __PROGRESS_H__
#define __PROGRESS_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <x.h>
struct progress_t {
uint64_t total;
uint64_t done;
double start;
};
void progress_start(struct progress_t * p, uint64_t total);
void progress_update(struct progress_t * p, uint64_t bytes);
void progress_stop(struct progress_t * p);
#ifdef __cplusplus
}
#endif
#endif /* __PROGRESS_H__ */

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/xboot-xfel.git
git@api.gitlife.ru:oschina-mirror/xboot-xfel.git
oschina-mirror
xboot-xfel
xboot-xfel
master