~mdw
/
jog
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
infra: Clean up project setup
[jog]
/
tx-socket.h
diff --git
a/tx-socket.h
b/tx-socket.h
index
f6e4d00
..
b1b6f95
100644
(file)
--- a/
tx-socket.h
+++ b/
tx-socket.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: tx-socket.h,v 1.
1 2002/01/25 19:34:4
5 mdw Exp $
+ * $Id: tx-socket.h,v 1.
3 2002/02/02 19:17:2
5 mdw Exp $
*
* Socket transport
*
*
* Socket transport
*
@@
-26,14
+26,6
@@
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-/*----- Revision history --------------------------------------------------*
- *
- * $Log: tx-socket.h,v $
- * Revision 1.1 2002/01/25 19:34:45 mdw
- * Initial revision
- *
- */
-
#ifndef TX_SOCKET_H
#define TX_SOCKET_H
#ifndef TX_SOCKET_H
#define TX_SOCKET_H
@@
-53,7
+45,7
@@
/*----- Functions provided ------------------------------------------------*/
/*----- Functions provided ------------------------------------------------*/
-extern txport *txsock_create(const char */*file*/
, const char */*config*/
);
+extern txport *txsock_create(const char */*file*/);
extern void *txsock_fetch(void */*txv*/);
extern ssize_t txsock_write(txport */*txg*/,
const void */*p*/, size_t /*sz*/);
extern void *txsock_fetch(void */*txv*/);
extern ssize_t txsock_write(txport */*txg*/,
const void */*p*/, size_t /*sz*/);
@@
-62,13
+54,12
@@
extern void txsock_destroy(txport */*txg*/);
#ifdef TX_LIST
static const struct txfile txsock_fv[] = {
{ "JOGSOCK", 0 },
#ifdef TX_LIST
static const struct txfile txsock_fv[] = {
{ "JOGSOCK", 0 },
- { DIRVAR, "sim" },
- { 0, "/var/lib/jog/sim" },
+ { 0, JOGSOCKET },
};
static txport_ops txsock_ops = {
TX_LIST, "socket", txsock_fv, 0,
};
static txport_ops txsock_ops = {
TX_LIST, "socket", txsock_fv, 0,
- txsock_create, txsock_fetch, txsock_write, txsock_destroy
+ txsock_create,
0,
txsock_fetch, txsock_write, txsock_destroy
};
# undef TX_LIST
# define TX_LIST &txsock_ops
};
# undef TX_LIST
# define TX_LIST &txsock_ops