Codebase list eapmd5pass / 1a070eb6-e17f-4539-a0c8-43b7aaad3928/main utils.h
1a070eb6-e17f-4539-a0c8-43b7aaad3928/main

Tree @1a070eb6-e17f-4539-a0c8-43b7aaad3928/main (Download .tar.gz)

utils.h @1a070eb6-e17f-4539-a0c8-43b7aaad3928/mainraw · history · blame

/* Copyright (c) 2007, Joshua Wright <[email protected]>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation. See COPYING for more
 * details.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

/* Prototypes */
void lamont_hdump(unsigned char *bp, unsigned int length);
int str2mac(char *string, uint8_t *mac);
void to_upper (char *s);
int str2hex (char *string, uint8_t *hexstr, int len);