Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgraded to C4.1 #124

Merged
merged 3 commits into from Mar 21, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -79,7 +79,7 @@ CZMQ's contributors are listed in the AUTHORS file. It is held by the ZeroMQ org
<A name="toc3-73" title="Contributing" />
### Contributing

CZMQ uses the [C4 (Collective Code Construction Contract)](http://rfc.zeromq.org/spec:16) process for contributions.
CZMQ uses the [C4.1 (Collective Code Construction Contract)](http://rfc.zeromq.org/spec:22) process for contributions.

CZMQ uses the [CLASS (C Language Style for Scalabilty)](http://rfc.zeromq.org/spec:21) guide for code style.

Expand Down
2 changes: 1 addition & 1 deletion README.txt
Expand Up @@ -67,7 +67,7 @@ CZMQ's contributors are listed in the AUTHORS file. It is held by the ZeroMQ org

### Contributing

CZMQ uses the [C4 (Collective Code Construction Contract)](http://rfc.zeromq.org/spec:16) process for contributions.
CZMQ uses the [C4.1 (Collective Code Construction Contract)](http://rfc.zeromq.org/spec:22) process for contributions.

CZMQ uses the [CLASS (C Language Style for Scalabilty)](http://rfc.zeromq.org/spec:21) guide for code style.

Expand Down
14 changes: 7 additions & 7 deletions include/zbeacon.h
Expand Up @@ -35,14 +35,18 @@ extern "C" {
typedef struct _zbeacon_t zbeacon_t;

// @interface
// Create a new beacon
// Create a new beacon on a certain UDP port
CZMQ_EXPORT zbeacon_t *
zbeacon_new (int port_nbr);

// Destroy a beacon
CZMQ_EXPORT void
zbeacon_destroy (zbeacon_t **self_p);

// Return our own IP address as printable string
CZMQ_EXPORT char *
zbeacon_hostname (zbeacon_t *self);

// Set broadcast interval in milliseconds (default is 1000 msec)
CZMQ_EXPORT void
zbeacon_set_interval (zbeacon_t *self, int interval);
Expand All @@ -67,14 +71,10 @@ CZMQ_EXPORT void
CZMQ_EXPORT void
zbeacon_unsubscribe (zbeacon_t *self);

// Get beacon pipe, for polling or receiving messages off
// Get beacon pipe, for polling or receiving messages
CZMQ_EXPORT void *
zbeacon_pipe (zbeacon_t *self);

// Return our own IP address as printable string
CZMQ_EXPORT char *
zbeacon_hostname (zbeacon_t *self);


// Self test of this class
void
zbeacon_test (bool verbose);
Expand Down
2 changes: 1 addition & 1 deletion src/zlist.c
Expand Up @@ -356,7 +356,7 @@ s_compare (void *item1, void *item2)


// --------------------------------------------------------------------------
// Set list for automatic item destruction
// Set list for automatic item destruction; item values MUST be strings.

void
zlist_autofree (zlist_t *self)
Expand Down