]>
Commit | Line | Data |
---|---|---|
6d409214 | 1 | /* |
2 | * $Source$ | |
3 | * $Author$ | |
4 | * $Header$ | |
5 | * | |
6 | * Copyright (C) 1987 by the Massachusetts Institute of Technology | |
7 | * | |
8 | * $Log$ | |
f4a12540 | 9 | * Revision 1.5 1987-08-02 21:50:25 wesommer |
10 | * Added function prototypes. | |
6d409214 | 11 | * |
f4a12540 | 12 | * Revision 1.4 87/06/23 16:13:36 wesommer |
13 | * Added new request. | |
14 | * | |
f358be80 | 15 | * Revision 1.3 87/06/04 01:31:16 wesommer |
16 | * Renamed retrieve to query. | |
17 | * | |
4bce71fa | 18 | * Revision 1.2 87/06/01 03:33:32 wesommer |
19 | * Added new procedure numbers. | |
20 | * | |
6d409214 | 21 | */ |
22 | ||
0fa91a0a | 23 | #include "sms_et.h" |
24 | ||
25 | #define SMS_VERSION_1 1 | |
26 | ||
27 | #define SMS_NOOP 0 | |
28 | #define SMS_AUTH 1 | |
6d409214 | 29 | #define SMS_SHUTDOWN 2 |
4bce71fa | 30 | #define SMS_QUERY 3 |
f358be80 | 31 | #define SMS_ACCESS 4 |
32 | #define SMS_MAX_PROC 4 | |
f4a12540 | 33 | |
34 | #ifdef __STDC__ | |
35 | int sms_connect(); | |
36 | int sms_disconnect(); | |
37 | int sms_auth(); | |
38 | int sms_access(char *handle, int argc, char **argv); | |
39 | int sms_access_internal(int argc, char **argv); | |
40 | int sms_query(char *handle, int argc, char **argv, | |
41 | int (*callback)(), char *callarg); | |
42 | int sms_query_internal(int argc, char **argv, | |
43 | int (*callback)(), char *callarg); | |
44 | int sms_noop(); | |
45 | int sms_shutdown(char *reason); | |
46 | #else !__STDC__ | |
47 | int sms_connect(); | |
48 | int sms_disconnect(); | |
49 | int sms_auth(); | |
50 | int sms_access(); | |
51 | int sms_query(); | |
52 | int sms_noop(); | |
53 | int sms_shutdown(); | |
54 | #endif __STDC__ |