MQTT C Client Libraries Internals: Clients.c File Reference

| MQTT C Client Libraries Internals

Functions
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. More...
int | clientSocketCompare (void *a, void *b)
| List callback function for comparing clients by socket. More...

## 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

  a | first integer value
  b | second 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

  a | first integer value
  b | second integer value

Returns
  boolean indicating whether a and b are equal