-int fskdemod(uint8_t *dest, size_t size, uint8_t rfLen, uint8_t invert);
-uint32_t bytebits_to_byte(uint8_t* src, int numbits);
-
-//
-#define MAX_BitStream_LEN (1024*128)
-//extern int BitStreamLen;
+int fskdemod(uint8_t *dest, size_t size, uint8_t rfLen, uint8_t invert, uint8_t fchigh, uint8_t fclow);
+uint32_t bytebits_to_byte(uint8_t* src, size_t numbits);
+int pskNRZrawDemod(uint8_t *dest, size_t *size, int *clk, int *invert);
+int DetectpskNRZClock(uint8_t dest[], size_t size, int clock);
+int indala26decode(uint8_t *bitStream, size_t *size, uint8_t *invert);
+void pskCleanWave(uint8_t *bitStream, size_t size);