X-Git-Url: https://git.distorted.org.uk/~mdw/jog/blobdiff_plain/2ec1e6937048636ec6761c3a76c5bf9544278601..0c03354b90316e45ab9e7f256a2461621609e315:/tx-socket.h diff --git a/tx-socket.h b/tx-socket.h index f6e4d00..17e5c5a 100644 --- a/tx-socket.h +++ b/tx-socket.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: tx-socket.h,v 1.1 2002/01/25 19:34:45 mdw Exp $ + * $Id: tx-socket.h,v 1.3 2002/02/02 19:17:25 mdw Exp $ * * Socket transport * @@ -29,6 +29,12 @@ /*----- Revision history --------------------------------------------------* * * $Log: tx-socket.h,v $ + * Revision 1.3 2002/02/02 19:17:25 mdw + * Use configurable path. + * + * Revision 1.2 2002/01/30 09:25:35 mdw + * Minor modifications for the transport configuration change. + * * Revision 1.1 2002/01/25 19:34:45 mdw * Initial revision * @@ -53,7 +59,7 @@ /*----- 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*/); @@ -62,13 +68,12 @@ extern void txsock_destroy(txport */*txg*/); #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, - 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