Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrield committed Oct 2, 2014
1 parent a82a207 commit 10ab0be
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/thingspeak.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,20 @@ typedef struct
/*Context functions*/
ts_context_t *ts_create_context(char *, ts_feed_id_t);
void ts_delete_context(ts_context_t *);


/*Datapoint values functions */
ts_datapoint_t *ts_set_value_i32(ts_datapoint_t *, int32_t);
int32_t ts_get_value_i32(ts_datapoint_t *);
ts_datapoint_t *ts_set_value_f32(ts_datapoint_t *, float);
float ts_get_value_f32(ts_datapoint_t *);


/* Datastream functions */
int32_t ts_datastream_update(ts_context_t *, ts_feed_id_t, char *, ts_datapoint_t *);
char *ts_datastream_get(ts_context_t *, ts_feed_id_t, ts_data_type_t, char *, char *);


/* Datastream functions */
char *ts_feed_get_all(ts_context_t *, ts_feed_id_t, ts_data_type_t type, char *);

Expand Down
6 changes: 4 additions & 2 deletions src/ts_time.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ typedef enum
TS_TIME_GMT
} ts_time_type_t;

ts_tm_t *ts_settime(ts_datapoint_t *, ts_time_type_t); /* set local time to datapoint */
void ts_mkime(ts_datapoint_t *); /* create time to datapoint */
/* set local time to datapoint */
ts_tm_t *ts_settime(ts_datapoint_t *, ts_time_type_t);
/* create time to datapoint */
void ts_mktime(ts_datapoint_t *, int, int, int, int, int, int);


#endif

0 comments on commit 10ab0be

Please sign in to comment.