MQTT C Client Libraries Internals
Loading...
Searching...
No Matches
Clients.c File Reference

functions which apply to client structures More...

#include "Clients.h"
#include <string.h>
#include <stdio.h>
Include dependency graph for Clients.c:

Functions

int clientIDCompare (void *a, void *b)
 List callback function for comparing clients by clientid.
 
int clientSocketCompare (void *a, void *b)
 List callback function for comparing clients by socket.
 

Detailed Description

functions which apply to client structures

Function Documentation

◆ clientIDCompare()

int clientIDCompare ( void * a,
void * b )

List callback function for comparing clients by clientid.

Parameters
afirst integer value
bsecond integer value
Returns
boolean indicating whether a and b are equal

◆ clientSocketCompare()

int clientSocketCompare ( void * a,
void * b )

List callback function for comparing clients by socket.

Parameters
afirst integer value
bsecond integer value
Returns
boolean indicating whether a and b are equal