Changeset 9 in projects for puncher/backend.dummy.c
- Timestamp:
- Aug 29, 2008, 1:24:03 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
puncher/backend.dummy.c
r8 r9 9 9 #include <stdio.h> 10 10 #include <stdlib.h> 11 #include <unistd.h> /* usleep! Unix! Not cross platform! */ 11 12 #include "backend.h" 12 13 … … 20 21 printf("[dummy backend] punching 0x%x\n", byte); 21 22 usleep (20*1000); // 20ms 23 return 0; 22 24 } 23 25 24 26 int puncher_backend_destroy(PuncherBackend* c) { 25 27 printf("[dummy backend] finishing backend...\n"); 28 return 0; 26 29 }
Note: See TracChangeset
for help on using the changeset viewer.