GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
Main Page
Related Pages
Topics
Data Structures
Files
File List
Globals
sat_batches.h
Go to the documentation of this file.
1
#ifndef SAT_BATCHES_H
2
#define SAT_BATCHES_H
3
4
#include <stddef.h>
5
#include <stdint.h>
6
7
#include "
ge.h
"
8
9
struct
sat_batch_info
{
10
const
char
*
id
;
11
const
char
*
title
;
12
const
char
*
summary
;
13
};
14
15
int
sat_batch_count
(
void
);
16
const
struct
sat_batch_info
*
sat_batch_info_at
(
int
idx);
17
const
struct
sat_batch_info
*
sat_batch_find
(
const
char
*
id
);
18
19
/*
20
* Compose a batch into a single .cap deck at out_path. Every batch is a deck:
21
* there is no image-staging variant, because the machine has no way to receive
22
* a program other than on cards.
23
*/
24
int
sat_batch_prepare_deck
(
const
char
*root,
const
char
*
id
,
25
const
char
*out_path,
26
char
*note,
size_t
note_sz);
27
28
#endif
ge.h
sat_batch_find
const struct sat_batch_info * sat_batch_find(const char *id)
Definition
sat_batches.c:238
sat_batch_count
int sat_batch_count(void)
Definition
sat_batches.c:226
sat_batch_info_at
const struct sat_batch_info * sat_batch_info_at(int idx)
Definition
sat_batches.c:231
sat_batch_prepare_deck
int sat_batch_prepare_deck(const char *root, const char *id, const char *out_path, char *note, size_t note_sz)
Definition
sat_batches.c:244
sat_batch_info
Definition
sat_batches.h:9
sat_batch_info::summary
const char * summary
Definition
sat_batches.h:12
sat_batch_info::title
const char * title
Definition
sat_batches.h:11
sat_batch_info::id
const char * id
Definition
sat_batches.h:10
Generated by
1.9.8