Subversion Repositories public

Rev

Rev 100 | Rev 218 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 100 Rev 137
Line 1938... Line 1938...
1938
  GET_WORKOUT_LIMITS,
1938
  GET_WORKOUT_LIMITS,
1939
  GET_COURSES,
1939
  GET_COURSES,
1940
  GET_COURSE_LIMITS
1940
  GET_COURSE_LIMITS
1941
} garmin_get_type;
1941
} garmin_get_type;
1942
 
1942
 
-
 
1943
typedef enum {
-
 
1944
  err_info,
-
 
1945
  err_warning,
-
 
1946
  err_error,
-
 
1947
  err_fatal
-
 
1948
} err_type;
1943
 
1949
 
1944
/* ========================================================================= */
1950
/* ========================================================================= */
1945
/* Function prototypes                                                       */
1951
/* Function prototypes                                                       */
1946
/* ========================================================================= */
1952
/* ========================================================================= */
1947
#ifdef __cplusplus
1953
#ifdef __cplusplus
Line 2118... Line 2124...
2118
/* ------------------------------------------------------------------------- */
2124
/* ------------------------------------------------------------------------- */
2119
/* run.c                                                                     */
2125
/* run.c                                                                     */
2120
/* ------------------------------------------------------------------------- */
2126
/* ------------------------------------------------------------------------- */
2121
 
2127
 
2122
void   garmin_save_runs ( garmin_unit * garmin );
2128
void   garmin_save_runs ( garmin_unit * garmin );
-
 
2129
 
-
 
2130
/* ------------------------------------------------------------------------- */
-
 
2131
/* prghook.c                                                                     */
-
 
2132
/* ------------------------------------------------------------------------- */
-
 
2133
 
-
 
2134
void garmin_set_hook(void (*func)(char *str));
-
 
2135
void garmin_clear_hook();
-
 
2136
void garmin_callback();
-
 
2137
 
-
 
2138
/* ------------------------------------------------------------------------- */
-
 
2139
/* error.c                                                                     */
-
 
2140
/* ------------------------------------------------------------------------- */
-
 
2141
 
-
 
2142
void garmin_queue_error(char *str, err_type type);
-
 
2143
void garmin_clear_errors();
-
 
2144
char *garmin_get_first_error(int *key);
-
 
2145
char *garmin_get_next_error(int *key);
-
 
2146
int garmin_count_error();
-
 
2147
 
2123
#ifdef __cplusplus
2148
#ifdef __cplusplus
2124
}
2149
}
2125
#endif
2150
#endif
2126
 
2151
 
2127
#endif /* __GARMIN_GARMIN_H__ */
2152
#endif /* __GARMIN_GARMIN_H__ */