]> mj.ucw.cz Git - libucw.git/blob - lib/custom.c
Removed partial support for LFS on Linuxes with pre-2.1 glibc.
[libucw.git] / lib / custom.c
1 /*
2  *      Sherlock: Custom Parts of Configuration
3  *
4  *      (c) 2001--2002 Martin Mares <mj@ucw.cz>
5  */
6
7 #include "lib/lib.h"
8 #include "lib/index.h"
9
10 #include <stdlib.h>
11
12 #if 0           /* Example */
13
14 void
15 custom_get_lm(struct card_attr *ca, byte *attr)
16 {
17   if (attr)
18     ca->lm = atol(attr);
19   else
20     ca->lm = 0;
21 }
22
23 byte *
24 custom_parse_lm(u32 *dest, byte *value, uns intval)
25 {
26   if (value)
27     return "LM is an integer, not a string";
28   *dest = intval;
29   return NULL;
30 }
31
32 #endif