Deleted Added
full compact
31c31
< __FBSDID("$FreeBSD: head/sbin/hastd/hast_proto.c 209175 2010-06-14 21:01:13Z pjd $");
---
> __FBSDID("$FreeBSD: head/sbin/hastd/hast_proto.c 212033 2010-08-30 22:26:42Z pjd $");
59,60c59,62
< typedef int hps_send_t(struct hast_resource *, struct nv *nv, void **, size_t *, bool *);
< typedef int hps_recv_t(struct hast_resource *, struct nv *nv, void **, size_t *, bool *);
---
> typedef int hps_send_t(const struct hast_resource *, struct nv *nv, void **,
> size_t *, bool *);
> typedef int hps_recv_t(const struct hast_resource *, struct nv *nv, void **,
> size_t *, bool *);
68c70
< static int compression_send(struct hast_resource *res, struct nv *nv,
---
> static int compression_send(const struct hast_resource *res, struct nv *nv,
70c72
< static int compression_recv(struct hast_resource *res, struct nv *nv,
---
> static int compression_recv(const struct hast_resource *res, struct nv *nv,
73c75
< static int checksum_send(struct hast_resource *res, struct nv *nv,
---
> static int checksum_send(const struct hast_resource *res, struct nv *nv,
75c77
< static int checksum_recv(struct hast_resource *res, struct nv *nv,
---
> static int checksum_recv(const struct hast_resource *res, struct nv *nv,
87c89
< compression_send(struct hast_resource *res, struct nv *nv, void **datap,
---
> compression_send(const struct hast_resource *res, struct nv *nv, void **datap,
135c137
< compression_recv(struct hast_resource *res, struct nv *nv, void **datap,
---
> compression_recv(const struct hast_resource *res, struct nv *nv, void **datap,
172c174
< checksum_send(struct hast_resource *res, struct nv *nv, void **datap,
---
> checksum_send(const struct hast_resource *res, struct nv *nv, void **datap,
191c193
< checksum_recv(struct hast_resource *res, struct nv *nv, void **datap,
---
> checksum_recv(const struct hast_resource *res, struct nv *nv, void **datap,
239c241
< hast_proto_send(struct hast_resource *res, struct proto_conn *conn,
---
> hast_proto_send(const struct hast_resource *res, struct proto_conn *conn,
296c298
< hast_proto_recv_hdr(struct proto_conn *conn, struct nv **nvp)
---
> hast_proto_recv_hdr(const struct proto_conn *conn, struct nv **nvp)
338c340
< hast_proto_recv_data(struct hast_resource *res, struct proto_conn *conn,
---
> hast_proto_recv_data(const struct hast_resource *res, struct proto_conn *conn,
387c389
< hast_proto_recv(struct hast_resource *res, struct proto_conn *conn,
---
> hast_proto_recv(const struct hast_resource *res, struct proto_conn *conn,