aboutsummaryrefslogtreecommitdiff
path: root/src/symlink.hpp
blob: 6bfe035843d85c99f24b54a1aebcec9c04c00015 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 *       Filename:  Symlink.hpp
 *
 *    Description:  Return a beautiful Symlink for udev
 *
 *        Version:  0.3.0.1
 *        Created:  19/01/2014 14:51:08
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  BARATTERO Laurent, laurentba<at>larueluberlu.net
 *   Organization:  La rue Luberlu
 */

#ifndef  Symlink_INC
#define  Symlink_INC

#include <stdlib.h>
#include <string>
#include <exception>
#include <sstream> 
#include <unistd.h>
#include <iostream>

/* 
 *         Name:  Symlink
 *  Description:  Symlink declaration
 */
namespace Symlink
{
//  extern uint16_t BALL;
//  extern uint16_t STAFF;
//  extern uint16_t CLUB;
//  extern uint16_t POI;



//  const uint32_t PROB_MASK;
//  const uint32_t NUM_MASK;

  std::string getSym(std::string serial_str);
  std::string whatProp(uint8_t id);
  void badSerNum();

  class Bad_Symlink{};
}

#endif   /* ----- #ifndef symlink_INC  ----- */