Chuck Swiger / Pubnub_c_core

Fork of Pubnub_c_core by Srdjan Veljkovic

Embed: (wiki syntax)

« Back to documentation index

pbcc_context Struct Reference

pbcc_context Struct Reference

The Pubnub "(C) core" context, contains context data that is shared among all Pubnub C clients. More...

#include <pubnub_ccore.h>

Data Fields

char const * publish_key
 The publish key (to use when publishing)
char const * subscribe_key
 The subscribe key (to use when subscribing)
char const * uuid
 The UUID to be sent to server.
char const * auth
 The `auth` parameter to be sent to server.
char timetoken [20]
 The last used time token.
enum pubnub_res last_result
 The result of the last Pubnub transaction.
char http_buf [PUBNUB_BUF_MAXLEN]
 The "scratch" buffer for HTTP data.
unsigned http_buf_len
 The length of the data currently in the HTTP buffer ("scratch" or reply, depending on the state).
unsigned http_content_len
 The total length of data to be received in a HTTP reply or chunk of it.
char http_reply [PUBNUB_REPLY_MAXLEN+1]
 The contents of a HTTP reply/reponse.
char const * secret_key
 Secret key to use for encryption/decryption.

Detailed Description

The Pubnub "(C) core" context, contains context data that is shared among all Pubnub C clients.

Definition at line 39 of file pubnub_ccore.h.


Field Documentation

char const* auth

The `auth` parameter to be sent to server.

If NULL, don't send any

Definition at line 48 of file pubnub_ccore.h.

char http_buf[PUBNUB_BUF_MAXLEN]

The "scratch" buffer for HTTP data.

Definition at line 57 of file pubnub_ccore.h.

unsigned http_buf_len

The length of the data currently in the HTTP buffer ("scratch" or reply, depending on the state).

Definition at line 62 of file pubnub_ccore.h.

unsigned http_content_len

The total length of data to be received in a HTTP reply or chunk of it.

Definition at line 67 of file pubnub_ccore.h.

char http_reply[PUBNUB_REPLY_MAXLEN+1]

The contents of a HTTP reply/reponse.

Definition at line 73 of file pubnub_ccore.h.

The result of the last Pubnub transaction.

Definition at line 54 of file pubnub_ccore.h.

char const* publish_key

The publish key (to use when publishing)

Definition at line 41 of file pubnub_ccore.h.

char const* secret_key

Secret key to use for encryption/decryption.

Definition at line 90 of file pubnub_ccore.h.

char const* subscribe_key

The subscribe key (to use when subscribing)

Definition at line 43 of file pubnub_ccore.h.

char timetoken[20]

The last used time token.

Definition at line 51 of file pubnub_ccore.h.

char const* uuid

The UUID to be sent to server.

If NULL, don't send any

Definition at line 45 of file pubnub_ccore.h.