2022-10-31 15:19:56 +01:00
|
|
|
@0x9d6da2edc6588d6e;
|
|
|
|
|
|
|
|
using CSharp = import "programming_language/csharp.capnp";
|
|
|
|
$CSharp.namespace("FabAccessAPI.Schema");
|
|
|
|
|
2022-11-01 11:54:01 +01:00
|
|
|
using import "utils.capnp".OID;
|
|
|
|
|
2022-10-31 15:19:56 +01:00
|
|
|
interface State {
|
2022-11-01 11:54:01 +01:00
|
|
|
get @0 ( oid :OID ) -> ( val :AnyPointer );
|
2023-11-23 12:36:28 +01:00
|
|
|
# Return the value for the field specified by `oid`.
|
|
|
|
# If the field is not set or the resource does not support a field with that OID the returned `val` is NULL.
|
2022-11-01 11:54:01 +01:00
|
|
|
}
|
2022-10-31 15:19:56 +01:00
|
|
|
|
2022-11-01 11:54:01 +01:00
|
|
|
struct UpdateValue {
|
|
|
|
oid @0 :OID;
|
|
|
|
val @1 :AnyPointer;
|
2022-10-31 15:19:56 +01:00
|
|
|
}
|
2022-11-01 11:54:01 +01:00
|
|
|
|
|
|
|
using Update = List(UpdateValue);
|