move typedef to header

walter harms wharms at bfs.de
Tue Jan 30 17:16:38 UTC 2007


do they need to be a typedef ?
a simple enum would be okay for me.

re,
 wh


Markus Wigge wrote:
> Hi again,
> 
>> can you move the
>> typedef enum { HASH_SHA1, HASH_MD5 } hash_algo_t;
>>
>> from coreutils/md5_sha1_sum.c to include/libbb.h or any other header file?
>> So I can use "hash_file" for example in any other applet?
> the function definitions too of course ... "hash_bin_to_hex" and 
> "hash_file" ...
> 
> /Markus
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
> 
> 
> 



More information about the busybox mailing list