-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let's call it "vPoller" with a "v" as in "vSphere"
- Loading branch information
Showing
14 changed files
with
147 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
CC = gcc | ||
IDIR = /usr/local/include | ||
LDIR = /usr/local/lib | ||
LIBS = -lzmq | ||
CFLAGS = -I${IDIR} -L${LDIR} | ||
|
||
all: vpoller_cclient_clean vpoller_cclient | ||
|
||
clean: vpoller_cclient_clean | ||
|
||
vpoller_cclient: | ||
$(CC) $(CFLAGS) vpoller-cclient.c -o vpoller-cclient $(LIBS) | ||
|
||
vpoller_cclient_clean: | ||
@rm -rf vpoller-cclient | ||
@echo "Cleaning target vpoller-cclient" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
src/vmpoller-cclient/vmpoller-cclient.h → src/vpoller-cclient/vmpoller-cclient.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#ifndef _VMPOLLER_CCLIENT_H_ | ||
#define _VMPOLLER_CCLIENT_H_ | ||
#ifndef _VPOLLER_CCLIENT_H_ | ||
#define _VPOLLER_CCLIENT_H_ | ||
|
||
#define DEFAULT_TIMEOUT 3000 /* Timeout is in msec */ | ||
#define DEFAULT_RETRIES 3 /* Number of retries before giving up */ | ||
#define DEFAULT_ENDPOINT "tcp://localhost:10123" /* Default endpoint we connect to */ | ||
|
||
void usage(void); | ||
|
||
#endif /* !_VMPOLLER_CCLIENT_H_ */ | ||
#endif /* !_VPOLLER_CCLIENT_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.