/decrypt/camd35.c
https://bitbucket.org/a84/gs_public/ · C · 39 lines · 29 code · 10 blank · 0 comment · 1 complexity · 6f4a2bbd8cfb4c5c23042f05f4c1b78b MD5 · raw file
- #include <stdint.h>
- #include "camd35.h"
- int camd35_send_ecm(cam_t *cam, cam_packet_t *packet) {
- return 0;
- }
- int camd35_send_emm(cam_t *cam, cam_packet_t *packet) {
- return 0;
- }
- int camd35_send_packet(cam_t *cam, cam_packet_t *packet) {
- switch(packet->type) {
- case PACKET_ECM: return camd35_send_ecm(cam, packet);
- case PACKET_EMM: return camd35_send_emm(cam, packet);
- default: break;
- }
- return 0;
- }
- int camd35_login(cam_t *cam) {
- return 0;
- }
- void camd35_logout(cam_t *cam) {
- }
- int camd35_init(cam_t *cam) {
- cam->login = camd35_login;
- cam->logout = camd35_logout;
- cam->send_packet = camd35_send_packet;
- return 0;
- }
- void camd35_destroy(cam_t *cam) {
- }