Revision 59651d52 src/Ganeti/WConfd/Core.hs

b/src/Ganeti/WConfd/Core.hs
34 34
import Language.Haskell.TH (Name)
35 35

  
36 36
import Ganeti.WConfd.Monad
37
import Ganeti.WConfd.ConfigWriter
37 38

  
38
-- * The list of all functions exported to RPC.
39
-- * Functions available to the RPC module
39 40

  
40 41
-- Just a test function
41 42
echo :: String -> WConfdMonad String
42 43
echo = return
43 44

  
45
-- ** Configuration related functions
46

  
47
-- ** Locking related functions
48

  
49
-- * The list of all functions exported to RPC.
50

  
44 51
exportedFunctions :: [Name]
45
exportedFunctions = [ 'echo ]
52
exportedFunctions = [ 'echo, 'readConfig, 'writeConfig ]

Also available in: Unified diff