tsdecrypt reads and decrypts CSA encrypted incoming mpeg transport stream over UDP/RTP using code words obtained from OSCAM or similar CAM server. tsdecrypt communicates with CAM server using cs378x (camd35 over tcp) protocol or newcamd protocol. https://georgi.unixsol.org/programs/tsdecrypt/
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.

notify.h 1.1KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Exec external program to notify for an event
  3. * Copyright (C) 2011 Unix Solutions Ltd.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2
  7. * as published by the Free Software Foundation.
  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, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  17. */
  18. #ifndef NOTIFY_H
  19. # define NOTIFY_H
  20. #include "libfuncs/queue.h"
  21. #include "data.h"
  22. struct notify *notify_alloc(struct ts *ts);
  23. __attribute__ ((format(printf, 3, 4)))
  24. void notify(struct ts *ts, char *msg_id, char *text_fmt, ...);
  25. __attribute__ ((format(printf, 3, 4)))
  26. void notify_sync(struct ts *ts, char *msg_id, char *text_fmt, ...);
  27. void notify_free(struct notify **pn);
  28. #endif