You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

25 lines
651 B

  1. /* SLiM - Simple Login Manager
  2. Copyright (C) 2009 Eygene Ryabinkin <rea@codelabs.ru>
  3. This program is free software; you can redistribute it and/or modify
  4. it under the terms of the GNU General Public License as published by
  5. the Free Software Foundation; either version 2 of the License, or
  6. (at your option) any later version.
  7. */
  8. #ifndef _UTIL_H__
  9. #define _UTIL_H__
  10. #include <string>
  11. namespace Util {
  12. bool add_mcookie(const std::string &mcookie, const char *display,
  13. const std::string &xauth_cmd, const std::string &authfile);
  14. void srandom(unsigned long seed);
  15. long random(void);
  16. long makeseed(void);
  17. }
  18. #endif /* _UTIL_H__ */