File: hash_update.h

package info (click to toggle)
rhash 1.4.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,408 kB
  • sloc: ansic: 19,132; sh: 1,196; xml: 933; makefile: 662; python: 431; java: 364; cs: 288; perl: 196; ruby: 76; sed: 16
file content (19 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* hash_update.h - functions to update a hash file */
#ifndef HASH_UPDATE_H
#define HASH_UPDATE_H

#ifdef __cplusplus
extern "C" {
#endif

struct file_t;
struct update_ctx;
struct update_ctx* update_ctx_new(struct file_t* update_file);
int update_ctx_update(struct update_ctx* ctx, struct file_t* file);
int update_ctx_free(struct update_ctx* ctx);

#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */

#endif /* HASH_UPDATE_H */