sandbox/pe/filesrv/msg.hrl

17 lines
446 B
Erlang
Raw Normal View History

2019-04-24 22:46:05 +00:00
%% This is the standard set of file server messages.
% upload sends data to be uploaded.
-record(upload, {client, data}).
% tag marks an ID as having an alternate name.
-record(tag, {client, id, name}).
% put combines upload and tag.
-record(put, {client, name, data}).
% retrieve obtains the data referenced by id.
-record(retrieve, {client, id}).
% fetch obtains the data referenced by an alternative name.
-record(fetch, {client, name}).