Christopher Piro | 5b3a8f7 | 2007-08-01 22:27:37 +0000 | [diff] [blame] | 1 | %%% Copyright (c) 2007- Facebook |
| 2 | %%% Distributed under the Thrift Software License |
Christopher Piro | 42fe4b9 | 2007-10-02 00:24:07 +0000 | [diff] [blame^] | 3 | %%% |
Christopher Piro | 5b3a8f7 | 2007-08-01 22:27:37 +0000 | [diff] [blame] | 4 | %%% See accompanying file LICENSE or visit the Thrift site at: |
| 5 | %%% http://developers.facebook.com/thrift/ |
| 6 | |
| 7 | -module(thrift). |
| 8 | |
Christopher Piro | 42fe4b9 | 2007-10-02 00:24:07 +0000 | [diff] [blame^] | 9 | -export([start/2, shutdown/0, stop/1]). |
| 10 | -behaviour(application). |
Christopher Piro | 5b3a8f7 | 2007-08-01 22:27:37 +0000 | [diff] [blame] | 11 | |
| 12 | -include("thrift.hrl"). |
| 13 | |
| 14 | %%% |
| 15 | %%% behavior definition |
| 16 | %%% |
| 17 | |
Christopher Piro | 42fe4b9 | 2007-10-02 00:24:07 +0000 | [diff] [blame^] | 18 | start(Type, StartArgs) -> |
| 19 | ok. |
Christopher Piro | 5b3a8f7 | 2007-08-01 22:27:37 +0000 | [diff] [blame] | 20 | |
Christopher Piro | 42fe4b9 | 2007-10-02 00:24:07 +0000 | [diff] [blame^] | 21 | shutdown() -> |
| 22 | application:stop(?MODULE). |
Christopher Piro | 5b3a8f7 | 2007-08-01 22:27:37 +0000 | [diff] [blame] | 23 | |
Christopher Piro | 42fe4b9 | 2007-10-02 00:24:07 +0000 | [diff] [blame^] | 24 | stop(_State) -> |
| 25 | ok. |