File: repoinfo_cache.h

package info (click to toggle)
libsolv 0.7.35-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,804 kB
  • sloc: ansic: 73,004; python: 871; perl: 742; tcl: 730; ruby: 705; sh: 263; cpp: 204; makefile: 41
file content (12 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12

struct repoinfo;
struct stat;

extern void set_userhome(void);
extern char *calc_cachepath(Repo *repo, const char *repoext, int forcesystemloc);
extern void calc_cookie_fp(FILE *fp, Id chktype, unsigned char *out);
extern void calc_cookie_stat(struct stat *stb, Id chktype, unsigned char *cookie, unsigned char *out);

extern int usecachedrepo(struct repoinfo *cinfo, const char *repoext, int mark);
extern void  writecachedrepo(struct repoinfo *cinfo, const char *repoext, Repodata *repodata);