/* gras/messages.h - Public interface to GRAS messages */
/* Authors: Martin Quinson */
-/* Copyright (C) 2003 the OURAGAN project. */
+/* Copyright (C) 2003,2004 Martin Quinson. */
/* This program is free software; you can redistribute it and/or modify it
under the terms of the license (GNU LGPL) which comes with this package. */
*/
typedef struct {
/* public */
- gras_sock_t *sock; /** the socket on which the message was received (to answer) */
+ gras_socket_t *sock; /** the socket on which the message was received (to answer) */
/* private */
gras_msgheader_t *header;
* Create a new message, and send it on the network through the given socket.
*/
gras_error_t
-gras_msg_new_and_send(gras_sock_t *sd,
+gras_msg_new_and_send(gras_socket_t *sd,
gras_msgid_t msgId,
int seqCount,
...);
*/
gras_error_t
-gras_msg_send(gras_sock_t *sd,
+gras_msg_send(gras_socket_t *sd,
gras_msg_t *msg,
e_gras_free_directive_t freeDirective);