[go: up one dir, main page]

File: status.h

package info (click to toggle)
libkarma 0.1.2-6
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 676 kB
  • sloc: ansic: 6,224; sh: 328; makefile: 229; cs: 170
file content (24 lines) | stat: -rw-r--r-- 545 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * libkarma/status.h
 *
 * Copyright (c) Frank Zschockelt <libkarma@freakysoft.de> 2005
 *
 *
 * You may distribute and modify this program under the terms of 
 * the GNU GPL, version 2 or later.
 * 
 */

#ifndef _STATUS_H
#define _STATUS_H

#include <inttypes.h>

typedef void status_func(const char * in_progress,int percent);

int lk_status_init(status_func update);
int lk_status_setup(const char * in_progress, uint32_t start, uint32_t units);
int lk_status_increment(uint32_t step);
int lk_status_destroy(void);

#endif /* _STATUS_H */