[go: up one dir, main page]

File: chirp_audit.h

package info (click to toggle)
cctools 7.1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 43,744 kB
  • sloc: ansic: 187,336; cpp: 20,196; python: 18,633; sh: 11,159; xml: 3,688; perl: 2,817; makefile: 1,105
file content (28 lines) | stat: -rw-r--r-- 810 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
20
21
22
23
24
25
26
27
28
/*
Copyright (C) 2003-2004 Douglas Thain and the University of Wisconsin
Copyright (C) 2005- The University of Notre Dame
This software is distributed under the GNU General Public License.
See the file COPYING for details.
*/

/*
chirp_audit scans a local path using the chirp_local module,
counting up the files, directories, and bytes consumed by each user.
It returns a hash_table keyed on the user name, with each entry
pointing to a chirp_audit structure.  When done, the caller should
send the hash table back to chirp_audit_delete.
*/

#ifndef CHIRP_AUDIT_H
#define CHIRP_AUDIT_H

#include "int_sizes.h"
#include "hash_table.h"
#include "chirp_client.h"

struct hash_table *chirp_audit(const char *path);
void chirp_audit_delete(struct hash_table *table);

#endif

/* vim: set noexpandtab tabstop=4: */