visualtest/include/SDL_visualtest_mischelper.h
author Brandon Schaefer <brandon.schaefer@canonical.com>
Wed, 08 Jun 2016 08:01:21 -0700
changeset 10181 b82c0f22d22a
parent 7924 fcb86d323770
permissions -rw-r--r--
MIR: Add better error handling for a failed connection

/**
 * \file mischelper.c 
 *
 * Header with miscellaneous helper functions.
 */

#ifndef _SDL_visualtest_mischelper_h
#define _SDL_visualtest_mischelper_h

/* Set up for C function definitions, even when using C++ */
#ifdef __cplusplus
extern "C" {
#endif

/**
 * Stores a 32 digit hexadecimal string representing the MD5 hash of the
 * string \c str in \c hash.
 */
void SDLVisualTest_HashString(char* str, char hash[33]);

/* Ends C function definitions when using C++ */
#ifdef __cplusplus
}
#endif

#endif /* _SDL_visualtest_mischelper_h */