Demonstration release of the principles underpinning krsd.
[krsd] / src / handler / storage.h
1 /*
2  * rs-serve - (c) 2013 Niklas E. Cathor
3  *
4  * This program is distributed in the hope that it will be useful,
5  * but WITHOUT ANY WARRANTY; without even the implied warranty of
6  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
7  * GNU Affero General Public License for more details.
8  *
9  * You should have received a copy of the GNU Affero General Public License
10  * along with this program. If not, see <http://www.gnu.org/licenses/>.
11  */
12
13 #ifndef RS_HANDLER_STORAGE_H
14 #define RS_HANDLER_STORAGE_H
15
16 evhtp_res storage_handle_head(evhtp_request_t *request, gss_buffer_t username);
17 evhtp_res storage_handle_get(evhtp_request_t *request, gss_buffer_t username);
18 evhtp_res storage_handle_put(evhtp_request_t *request, gss_buffer_t username);
19 evhtp_res storage_handle_delete(evhtp_request_t *request, gss_buffer_t username);
20
21 #endif /* !RS_HANDLER_STORAGE_H */