| 143 |
143 |
}
|
| 144 |
144 |
|
| 145 |
145 |
static int
|
| 146 |
|
rc_hello(hctransaction_t trans, struct HCHead *head __unused)
|
|
146 |
rc_hello(hctransaction_t trans, struct HCHead *head __cpdup_unused)
|
| 147 |
147 |
{
|
| 148 |
148 |
char hostbuf[256];
|
| 149 |
149 |
|
| ... | ... | |
| 879 |
879 |
}
|
| 880 |
880 |
|
| 881 |
881 |
static int
|
| 882 |
|
rc_remove(hctransaction_t trans __unused, struct HCHead *head)
|
|
882 |
rc_remove(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 883 |
883 |
{
|
| 884 |
884 |
struct HCLeaf *item;
|
| 885 |
885 |
const char *path = NULL;
|
| ... | ... | |
| 900 |
900 |
* MKDIR
|
| 901 |
901 |
*/
|
| 902 |
902 |
int
|
| 903 |
|
hc_mkdir(struct HostConf *hc __unused, const char *path, mode_t mode)
|
|
903 |
hc_mkdir(struct HostConf *hc __cpdup_unused, const char *path, mode_t mode)
|
| 904 |
904 |
{
|
| 905 |
905 |
hctransaction_t trans;
|
| 906 |
906 |
struct HCHead *head;
|
| ... | ... | |
| 919 |
919 |
}
|
| 920 |
920 |
|
| 921 |
921 |
static int
|
| 922 |
|
rc_mkdir(hctransaction_t trans __unused, struct HCHead *head)
|
|
922 |
rc_mkdir(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 923 |
923 |
{
|
| 924 |
924 |
struct HCLeaf *item;
|
| 925 |
925 |
const char *path = NULL;
|
| ... | ... | |
| 962 |
962 |
}
|
| 963 |
963 |
|
| 964 |
964 |
static int
|
| 965 |
|
rc_rmdir(hctransaction_t trans __unused, struct HCHead *head)
|
|
965 |
rc_rmdir(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 966 |
966 |
{
|
| 967 |
967 |
struct HCLeaf *item;
|
| 968 |
968 |
const char *path = NULL;
|
| ... | ... | |
| 1003 |
1003 |
}
|
| 1004 |
1004 |
|
| 1005 |
1005 |
static int
|
| 1006 |
|
rc_chown(hctransaction_t trans __unused, struct HCHead *head)
|
|
1006 |
rc_chown(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1007 |
1007 |
{
|
| 1008 |
1008 |
struct HCLeaf *item;
|
| 1009 |
1009 |
const char *path = NULL;
|
| ... | ... | |
| 1052 |
1052 |
}
|
| 1053 |
1053 |
|
| 1054 |
1054 |
static int
|
| 1055 |
|
rc_lchown(hctransaction_t trans __unused, struct HCHead *head)
|
|
1055 |
rc_lchown(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1056 |
1056 |
{
|
| 1057 |
1057 |
struct HCLeaf *item;
|
| 1058 |
1058 |
const char *path = NULL;
|
| ... | ... | |
| 1100 |
1100 |
}
|
| 1101 |
1101 |
|
| 1102 |
1102 |
static int
|
| 1103 |
|
rc_chmod(hctransaction_t trans __unused, struct HCHead *head)
|
|
1103 |
rc_chmod(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1104 |
1104 |
{
|
| 1105 |
1105 |
struct HCLeaf *item;
|
| 1106 |
1106 |
const char *path = NULL;
|
| ... | ... | |
| 1145 |
1145 |
}
|
| 1146 |
1146 |
|
| 1147 |
1147 |
static int
|
| 1148 |
|
rc_mknod(hctransaction_t trans __unused, struct HCHead *head)
|
|
1148 |
rc_mknod(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1149 |
1149 |
{
|
| 1150 |
1150 |
struct HCLeaf *item;
|
| 1151 |
1151 |
const char *path = NULL;
|
| ... | ... | |
| 1193 |
1193 |
}
|
| 1194 |
1194 |
|
| 1195 |
1195 |
static int
|
| 1196 |
|
rc_link(hctransaction_t trans __unused, struct HCHead *head)
|
|
1196 |
rc_link(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1197 |
1197 |
{
|
| 1198 |
1198 |
struct HCLeaf *item;
|
| 1199 |
1199 |
const char *name1 = NULL;
|
| ... | ... | |
| 1238 |
1238 |
}
|
| 1239 |
1239 |
|
| 1240 |
1240 |
static int
|
| 1241 |
|
rc_chflags(hctransaction_t trans __unused, struct HCHead *head)
|
|
1241 |
rc_chflags(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1242 |
1242 |
{
|
| 1243 |
1243 |
struct HCLeaf *item;
|
| 1244 |
1244 |
const char *path = NULL;
|
| ... | ... | |
| 1394 |
1394 |
}
|
| 1395 |
1395 |
|
| 1396 |
1396 |
static int
|
| 1397 |
|
rc_symlink(hctransaction_t trans __unused, struct HCHead *head)
|
|
1397 |
rc_symlink(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1398 |
1398 |
{
|
| 1399 |
1399 |
struct HCLeaf *item;
|
| 1400 |
1400 |
const char *name1 = NULL;
|
| ... | ... | |
| 1438 |
1438 |
}
|
| 1439 |
1439 |
|
| 1440 |
1440 |
static int
|
| 1441 |
|
rc_rename(hctransaction_t trans __unused, struct HCHead *head)
|
|
1441 |
rc_rename(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1442 |
1442 |
{
|
| 1443 |
1443 |
struct HCLeaf *item;
|
| 1444 |
1444 |
const char *name1 = NULL;
|
| ... | ... | |
| 1483 |
1483 |
}
|
| 1484 |
1484 |
|
| 1485 |
1485 |
static int
|
| 1486 |
|
rc_utimes(hctransaction_t trans __unused, struct HCHead *head)
|
|
1486 |
rc_utimes(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 1487 |
1487 |
{
|
| 1488 |
1488 |
struct HCLeaf *item;
|
| 1489 |
1489 |
struct timeval times[2];
|
| 1490 |
|
-- cpdup-1.11/hclink.c.unused 2008-05-24 13:21:36.000000000 -0400
|
|
1490 |
++ cpdup-1.11/hclink.c 2008-06-11 15:44:30.000000000 -0400
|
| ... | ... | |
| 77 |
77 |
}
|
| 78 |
78 |
|
| 79 |
79 |
static int
|
| 80 |
|
rc_badop(hctransaction_t trans __unused, struct HCHead *head)
|
|
80 |
rc_badop(hctransaction_t trans __cpdup_unused, struct HCHead *head)
|
| 81 |
81 |
{
|
| 82 |
82 |
head->error = EOPNOTSUPP;
|
| 83 |
83 |
return(0);
|
| ... | ... | |
| 353 |
353 |
}
|
| 354 |
354 |
|
| 355 |
355 |
void
|
| 356 |
|
hcc_free_trans(struct HostConf *hc __unused)
|
|
356 |
hcc_free_trans(struct HostConf *hc __cpdup_unused)
|
| 357 |
357 |
{
|
| 358 |
358 |
/* nop */
|
| 359 |
359 |
}
|