version 1.27, 2014/07/05 06:18:58 |
version 1.28, 2014/07/05 06:45:00 |
|
|
* SUCH DAMAGE. |
* SUCH DAMAGE. |
*/ |
*/ |
|
|
|
#include <sys/socket.h> |
|
#include <dirent.h> |
|
#include <netdb.h> |
|
|
#include "defs.h" |
#include "defs.h" |
#include "y.tab.h" |
#include "y.tab.h" |
|
|
|
|
* Functions for rdist that do command (cmd) related activities. |
* Functions for rdist that do command (cmd) related activities. |
*/ |
*/ |
|
|
#include <sys/socket.h> |
|
#include <netdb.h> |
|
|
|
struct subcmd *subcmds; /* list of sub-commands for |
struct subcmd *subcmds; /* list of sub-commands for |
current cmd */ |
current cmd */ |
struct namelist *filelist; /* list of source files */ |
struct namelist *filelist; /* list of source files */ |
|
|
rcmptime(struct stat *st, struct subcmd *sbcmds, char **env) |
rcmptime(struct stat *st, struct subcmd *sbcmds, char **env) |
{ |
{ |
DIR *d; |
DIR *d; |
DIRENTRY *dp; |
struct dirent *dp; |
char *cp; |
char *cp; |
char *optarget; |
char *optarget; |
int len; |
int len; |