Re: [PATCH] uuidparse: add new command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19 June 2017 at 09:41, Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Sun, Jun 18, 2017 at 05:25:36PM +0000, Sami Kerola wrote:
>> +static void uuid_unpack(const uuid_t in, struct uuid *uu)
>> +time_t uuid_time(const uuid_t uu, struct timeval *ret_tv)
>> +int uuid_type(const uuid_t uu)
>> +int uuid_variant(const uuid_t uu)
>
> Why? The functions are exported by library API.
>
> The rest seems good.

I followed a little bit too closely an example in libuuid/src/uuid_time.c
Sorry about that. Updated version is in my git branch uuidparse:

https://github.com/kerolasa/lelux-utiliteetit/commit/8756bd4eacc1986d4e5fb86919f5eac6c6a98ede

-- 
Sami Kerola
http://www.iki.fi/kerolasa/
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux