dpus.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * Copyright 2021
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 3 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. *
  17. * These are the four essential freedoms with GNU GPL software:
  18. * 1: freedom to run the program, for any purpose
  19. * 2: freedom to study how the program works, and change it to make it do what you wish
  20. * 3: freedom to redistribute copies to help your Free Software friends
  21. * 4: freedom to distribute copies of your modified versions to your Free Software friends
  22. * , ,
  23. * / \
  24. * ((__-^^-,-^^-__))
  25. * `-_---' `---_-'
  26. * `--|o` 'o|--'
  27. * \ ` /
  28. * ): :(
  29. * :o_o:
  30. * "-"
  31. */
  32. #ifndef DPUS_H
  33. #define DPUS_H 1
  34. #undef __BEGIN_DECLS
  35. #undef __END_DECLS
  36. #ifdef __cplusplus
  37. #define __BEGIN_DECLS extern "C" {
  38. #define __END_DECLS }
  39. #else
  40. #define __BEGIN_DECLS /* empty */
  41. #define __END_DECLS /* empty */
  42. #endif
  43. __BEGIN_DECLS
  44. /* */
  45. extern void dp_clear_uniqstr(void);
  46. /* */
  47. extern char *dp_uniqstr(char *str);
  48. __END_DECLS
  49. #endif
  50. /* end */