Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Renamed class files from .c to .class

  • Loading branch information...
commit a07fe97c4c597e6401b4281ae07c3a156590f4c6 1 parent a8f9d92
@hintjens hintjens authored
View
3  examples/C/asyncsrv.c 100644 → 100755
@@ -5,8 +5,7 @@
// it easier to start and stop the example. Each task has its own
// context and conceptually acts as a separate process.
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
// ---------------------------------------------------------------------
// This is our client task
View
5 examples/C/lruqueue2.c
@@ -12,9 +12,8 @@
// - close sockets in each child thread
// - call zmq_term in each thread before ending
// - removed sleep(1) at end of main thread
-//
-#include "zhelpers.h"
-#include "zmsg.c"
+
+#include "zmsg.class"
#define NBR_CLIENTS 10
#define NBR_WORKERS 3
View
7 examples/C/mdbroker.c
@@ -2,10 +2,9 @@
// Majordomo broker
// A minimal implementation
//
-#include "zhelpers.h"
-#include "zmsg.c"
-#include "zlist.c"
-#include "zhash.c"
+#include "zmsg.class"
+#include "zlist.class"
+#include "zhash.class"
#include "mdp.h"
#define HEARTBEAT_LIVENESS 3 // 3-5 is reasonable
View
3  examples/C/mdcliapi.c
@@ -2,8 +2,7 @@
// Majordomo Protocol Client API
// Implements the MDP/Client spec at http://rfc.zeromq.org/spec:7
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
#include "mdp.h"
// Reliability parameters
View
3  examples/C/mdwrkapi.c
@@ -2,8 +2,7 @@
// Majordomo Protocol Worker API
// Implements the MDP/Worker spec at http://rfc.zeromq.org/spec:7.
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
#include "mdp.h"
// Reliability parameters
View
3  examples/C/peering1.c
@@ -2,8 +2,7 @@
// Broker peering simulation (part 1)
// Prototypes the state flow
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
int main (int argc, char *argv [])
{
View
2  examples/C/peering2.c
@@ -13,7 +13,7 @@
// - close sockets in each child thread
// - call zmq_term in each thread before ending
//
-#include "zmsg.c"
+#include "zmsg.class"
#define NBR_CLIENTS 10
#define NBR_WORKERS 3
View
5 examples/C/peering3.c
@@ -12,9 +12,8 @@
// - use ipc:// instead of inproc://
// - close sockets in each child thread
// - call zmq_term in each thread before ending
-//
-#include "zhelpers.h"
-#include "zmsg.c"
+
+#include "zmsg.class"
#define NBR_CLIENTS 10
#define NBR_WORKERS 5
View
3  examples/C/ppqueue.c
@@ -1,8 +1,7 @@
//
// Paranoid Pirate queue
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
#define MAX_WORKERS 100
#define HEARTBEAT_LIVENESS 3 // 3-5 is reasonable
View
3  examples/C/ppworker.c
@@ -1,8 +1,7 @@
//
// Paranoid Pirate worker
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
#define HEARTBEAT_LIVENESS 3 // 3-5 is reasonable
#define HEARTBEAT_INTERVAL 1000 // msecs
View
3  examples/C/spqueue.c
@@ -3,8 +3,7 @@
// This is identical to the LRU pattern, with no reliability mechanisms
// at all. It depends on the client for recovery. Runs forever.
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
#define MAX_WORKERS 100
View
3  examples/C/spworker.c
@@ -3,8 +3,7 @@
// Connects REQ socket to tcp://*:5556
// Implements worker part of LRU queueing
//
-#include "zhelpers.h"
-#include "zmsg.c"
+#include "zmsg.class"
int main (void)
{
View
0  examples/C/zhash.c → examples/C/zhash.class
File renamed without changes
View
0  examples/C/zlist.c → examples/C/zlist.class
File renamed without changes
View
0  examples/C/zmsg.c → examples/C/zmsg.class
File renamed without changes
View
11 examples/C/zmsg_test.c
@@ -1,11 +0,0 @@
-//
-// Test zmsg class
-//
-#include "zhelpers.h"
-#include "zmsg.c"
-
-int main (int argc, char *argv[])
-{
- zmsg_test (1);
- return EXIT_SUCCESS;
-}
Please sign in to comment.
Something went wrong with that request. Please try again.