mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
Refactor operation function definition
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#ifndef WALK_H
|
||||
#define WALK_H
|
||||
|
||||
typedef int(*operation)(const char *);
|
||||
typedef int(*operation)(const char *, void *);
|
||||
|
||||
int walk(const char *directory, operation op);
|
||||
int walk(const char *directory, operation op, void *context);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user